chart layout (2) 썸네일형 리스트형 [plotly] plotly.graph_objects 로 차트 그리기 라이브러리 로드 import plotly.graph_objects as go import plotly.offline as pyo pyo.init_notebook_mode() 기본그리기 차트 종류는 아래 사이트에서 확인 할 수 있습니다. Basic Chart : https://plotly.com/python/basic-charts/ Statistical Chart : https://plotly.com/python/statistical-charts/ fig = go.Figure() fig.add_trace( go.Bar( x = df.index, y = df["A"] ) ) fig.show() 다중 그래프 그리기 fig = go.Figure() fig.add_trace( go.Bar( x = df.index.. [plotly] iplot 차트 세부 요소 변경 하기 라이브러리 로드 import chart_studio.plotly as py import cufflinks as cf cf.go_offline(connected=True) x 축, y 축, 차트 타이틀 설정 df.iplot(kind = "line", xTitle = "X title", # x 축 타이틀 yTitle = "Y title", # y 축 타이틀 title = "title name" # 차트 타이틀 ) 차트 테마 변경 cf.getThemes() 위와 같이 총 7개의 테마를 확인 할 수 있습니다. themes = cf.getThemes() for theme_item in themes: df.iplot(kind = "line", theme = theme_item, xTitle = "X title", .. 이전 1 다음