# 사용한 버전
pip install plotly==4.9.0
#dragmode: 드래그 모드 어떤 걸로 할지 설정하는거
#['orbit', 'turntable', 'zoom', 'pan', False]
- '어떻게 만들어야할지 모르겠다 or 이렇게 어떻게 함'일 때 찾아보는 다른 사람들의 그래프
Plotly | Make charts and dashboards online
chart-studio.plotly.com
여기에 하고 싶은 거 검색한 다음에 editor로 들어가서 이것저것 눌러서 바까도 보고 내 코드에 적용하고 싶으면 JSON에서 attribute값 보고 그대로 적용하면 됨
- scattergeo 지도 종류 보기 (그림)
plotly.com/python/map-configuration/
Map Configuration and Styling
How to configure and style base maps for Choropleths and Bubble Maps.
plotly.com
- Figure 그리는데 어떤 속성값들 있는지 찾을 때 들어가서 보는 곳 (doucment)
plotly.com/python/reference/#scattergeo
Figure Reference
The complete reference of Plotly chart attributes for Plotly's Python library.
plotly.com
- 한 화면에 차트 여러개 넣는 방법 (subplot, 그림 포함)
Subplots
How to make subplots in with Plotly's Python graphing library. Examples of stacked, custom-sized, gridded, and annotated subplots.
plotly.com
plotly.com/python-api-reference/generated/plotly.subplots.make_subplots.html
plotly.subplots.make_subplots — 4.9.0 documentation
Indices of the outer list correspond to subplot grid rows starting from the top, if start_cell=’top-left’, or bottom, if start_cell=’bottom-left’. The number of rows in ‘specs’ must be equal to ‘rows’.
plotly.com
- 중점에 관련된...비율이랄까...domain이 무엇이냐면..... 그림을 보는게 빠름
Axes
How to adjust axes properties in python. Includes examples of linear and logarithmic axes, axes titles, styling and coloring axes and grid lines, and more.
plotly.com
- scattergeo에 선 그리기 (그림 포함)
plotly.com/python/lines-on-maps/#lines-on-maps-with-plotlygraphobjects
Lines on Maps
How to draw lines, great circles, and contours on maps in Python.
plotly.com
- scattergeo document
plotly.github.io/plotly.py-docs/generated/plotly.graph_objects.Scattergeo.html
plotly.graph_objects.Scattergeo — 4.9.0 documentation
hovertemplate – Template string used for rendering the information that appear on hover box. Note that this will override hoverinfo. Variables are inserted using %{variable}, for example “y: %{y}”. Numbers are formatted using d3-format’s syntax %{v
plotly.github.io
- hovering, 캡션, 메모 띄우기
plotly.com/python/hover-text-and-formatting/
Hover Text and Formatting
How to use hover text and formatting in Python with Plotly.
plotly.com
- 고버전부터는 line도 scatter로.. 인듯 (그림 포함)
plotly.com/python/line-and-scatter/
Scatter Plots
How to make scatter plots in Python with Plotly.
plotly.com
- etc (안썼는데 hoxy나)
plotly.com/python/creating-and-updating-figures/
Creating and Updating Figures
Creating and Updating Figures with Plotly's Python graphing library
plotly.com
plotly.com/python/scattermapbox/
Scatter Plots on Mapbox
How to make scatter plots on Mapbox maps in Python.
plotly.com
plotly.com/python/text-and-annotations/
Text and Annotations
How to add text labels and annotations to plots in python.
plotly.com
plotly.com/python/scatter-plots-on-maps/#customize-geographical-scatter-plot
Scatter Plots on Maps
How to make scatter plots on maps in Python. Scatter plots on maps highlight geographic areas and can be colored by value.
plotly.com
'Programming > Python' 카테고리의 다른 글
Python IP주소로 위도, 경도 위치 찾기 (latitude, longitude) (0) | 2020.12.04 |
---|---|
Python plotly 그라데이션 색 점 찍기 (0) | 2020.10.10 |
Python plotly scatter, scattergeo, layout geo, 화면 분할 (0) | 2020.07.23 |
PyCharm Terminal Git Bash로 바꾸기 (0) | 2020.04.20 |
Python 환경이 다른 가상환경 여러 개 만들기 (윈도우) (0) | 2020.04.19 |