Skip to content

Commit db82ee4

Browse files
committed
fix: satisfying black formatting
1 parent a7f5810 commit db82ee4

File tree

1,519 files changed

+93760
-87578
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,519 files changed

+93760
-87578
lines changed

plotly/graph_objs/__init__.py

+136-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,146 @@
11
import sys
22
from _plotly_utils.importers import relative_import
3+
34
__all__, __getattr__, __dir__ = relative_import(
45
__name__,
5-
['.bar', '.barpolar', '.box', '.candlestick', '.carpet', '.choropleth', '.choroplethmap', '.choroplethmapbox', '.cone', '.contour', '.contourcarpet', '.densitymap', '.densitymapbox', '.funnel', '.funnelarea', '.heatmap', '.histogram', '.histogram2d', '.histogram2dcontour', '.icicle', '.image', '.indicator', '.isosurface', '.layout', '.mesh3d', '.ohlc', '.parcats', '.parcoords', '.pie', '.sankey', '.scatter', '.scatter3d', '.scattercarpet', '.scattergeo', '.scattergl', '.scattermap', '.scattermapbox', '.scatterpolar', '.scatterpolargl', '.scattersmith', '.scatterternary', '.splom', '.streamtube', '.sunburst', '.surface', '.table', '.treemap', '.violin', '.volume', '.waterfall'],
6-
['._bar.Bar', '._barpolar.Barpolar', '._box.Box', '._candlestick.Candlestick', '._carpet.Carpet', '._choropleth.Choropleth', '._choroplethmap.Choroplethmap', '._choroplethmapbox.Choroplethmapbox', '._cone.Cone', '._contour.Contour', '._contourcarpet.Contourcarpet', '._densitymap.Densitymap', '._densitymapbox.Densitymapbox', '._deprecations.AngularAxis', '._deprecations.Annotation', '._deprecations.Annotations', '._deprecations.ColorBar', '._deprecations.Contours', '._deprecations.Data', '._deprecations.ErrorX', '._deprecations.ErrorY', '._deprecations.ErrorZ', '._deprecations.Font', '._deprecations.Frames', '._deprecations.Histogram2dcontour', '._deprecations.Legend', '._deprecations.Line', '._deprecations.Margin', '._deprecations.Marker', '._deprecations.RadialAxis', '._deprecations.Scene', '._deprecations.Stream', '._deprecations.Trace', '._deprecations.XAxis', '._deprecations.XBins', '._deprecations.YAxis', '._deprecations.YBins', '._deprecations.ZAxis', '._figure.Figure', '._frame.Frame', '._funnel.Funnel', '._funnelarea.Funnelarea', '._heatmap.Heatmap', '._histogram.Histogram', '._histogram2d.Histogram2d', '._histogram2dcontour.Histogram2dContour', '._icicle.Icicle', '._image.Image', '._indicator.Indicator', '._isosurface.Isosurface', '._layout.Layout', '._mesh3d.Mesh3d', '._ohlc.Ohlc', '._parcats.Parcats', '._parcoords.Parcoords', '._pie.Pie', '._sankey.Sankey', '._scatter.Scatter', '._scatter3d.Scatter3d', '._scattercarpet.Scattercarpet', '._scattergeo.Scattergeo', '._scattergl.Scattergl', '._scattermap.Scattermap', '._scattermapbox.Scattermapbox', '._scatterpolar.Scatterpolar', '._scatterpolargl.Scatterpolargl', '._scattersmith.Scattersmith', '._scatterternary.Scatterternary', '._splom.Splom', '._streamtube.Streamtube', '._sunburst.Sunburst', '._surface.Surface', '._table.Table', '._treemap.Treemap', '._violin.Violin', '._volume.Volume', '._waterfall.Waterfall']
6+
[
7+
".bar",
8+
".barpolar",
9+
".box",
10+
".candlestick",
11+
".carpet",
12+
".choropleth",
13+
".choroplethmap",
14+
".choroplethmapbox",
15+
".cone",
16+
".contour",
17+
".contourcarpet",
18+
".densitymap",
19+
".densitymapbox",
20+
".funnel",
21+
".funnelarea",
22+
".heatmap",
23+
".histogram",
24+
".histogram2d",
25+
".histogram2dcontour",
26+
".icicle",
27+
".image",
28+
".indicator",
29+
".isosurface",
30+
".layout",
31+
".mesh3d",
32+
".ohlc",
33+
".parcats",
34+
".parcoords",
35+
".pie",
36+
".sankey",
37+
".scatter",
38+
".scatter3d",
39+
".scattercarpet",
40+
".scattergeo",
41+
".scattergl",
42+
".scattermap",
43+
".scattermapbox",
44+
".scatterpolar",
45+
".scatterpolargl",
46+
".scattersmith",
47+
".scatterternary",
48+
".splom",
49+
".streamtube",
50+
".sunburst",
51+
".surface",
52+
".table",
53+
".treemap",
54+
".violin",
55+
".volume",
56+
".waterfall",
57+
],
58+
[
59+
"._bar.Bar",
60+
"._barpolar.Barpolar",
61+
"._box.Box",
62+
"._candlestick.Candlestick",
63+
"._carpet.Carpet",
64+
"._choropleth.Choropleth",
65+
"._choroplethmap.Choroplethmap",
66+
"._choroplethmapbox.Choroplethmapbox",
67+
"._cone.Cone",
68+
"._contour.Contour",
69+
"._contourcarpet.Contourcarpet",
70+
"._densitymap.Densitymap",
71+
"._densitymapbox.Densitymapbox",
72+
"._deprecations.AngularAxis",
73+
"._deprecations.Annotation",
74+
"._deprecations.Annotations",
75+
"._deprecations.ColorBar",
76+
"._deprecations.Contours",
77+
"._deprecations.Data",
78+
"._deprecations.ErrorX",
79+
"._deprecations.ErrorY",
80+
"._deprecations.ErrorZ",
81+
"._deprecations.Font",
82+
"._deprecations.Frames",
83+
"._deprecations.Histogram2dcontour",
84+
"._deprecations.Legend",
85+
"._deprecations.Line",
86+
"._deprecations.Margin",
87+
"._deprecations.Marker",
88+
"._deprecations.RadialAxis",
89+
"._deprecations.Scene",
90+
"._deprecations.Stream",
91+
"._deprecations.Trace",
92+
"._deprecations.XAxis",
93+
"._deprecations.XBins",
94+
"._deprecations.YAxis",
95+
"._deprecations.YBins",
96+
"._deprecations.ZAxis",
97+
"._figure.Figure",
98+
"._frame.Frame",
99+
"._funnel.Funnel",
100+
"._funnelarea.Funnelarea",
101+
"._heatmap.Heatmap",
102+
"._histogram.Histogram",
103+
"._histogram2d.Histogram2d",
104+
"._histogram2dcontour.Histogram2dContour",
105+
"._icicle.Icicle",
106+
"._image.Image",
107+
"._indicator.Indicator",
108+
"._isosurface.Isosurface",
109+
"._layout.Layout",
110+
"._mesh3d.Mesh3d",
111+
"._ohlc.Ohlc",
112+
"._parcats.Parcats",
113+
"._parcoords.Parcoords",
114+
"._pie.Pie",
115+
"._sankey.Sankey",
116+
"._scatter.Scatter",
117+
"._scatter3d.Scatter3d",
118+
"._scattercarpet.Scattercarpet",
119+
"._scattergeo.Scattergeo",
120+
"._scattergl.Scattergl",
121+
"._scattermap.Scattermap",
122+
"._scattermapbox.Scattermapbox",
123+
"._scatterpolar.Scatterpolar",
124+
"._scatterpolargl.Scatterpolargl",
125+
"._scattersmith.Scattersmith",
126+
"._scatterternary.Scatterternary",
127+
"._splom.Splom",
128+
"._streamtube.Streamtube",
129+
"._sunburst.Sunburst",
130+
"._surface.Surface",
131+
"._table.Table",
132+
"._treemap.Treemap",
133+
"._violin.Violin",
134+
"._volume.Volume",
135+
"._waterfall.Waterfall",
136+
],
7137
)
8138

9139

10140
__all__.append("FigureWidget")
11141
orig_getattr = __getattr__
142+
143+
12144
def __getattr__(import_name):
13145
if import_name == "FigureWidget":
14146
try:
@@ -17,12 +149,13 @@ def __getattr__(import_name):
17149

18150
if Version(ipywidgets.__version__) >= Version("7.0.0"):
19151
from ..graph_objs._figurewidget import FigureWidget
152+
20153
return FigureWidget
21154
else:
22155
raise ImportError()
23156
except Exception:
24157
from ..missing_anywidget import FigureWidget
158+
25159
return FigureWidget
26160

27161
return orig_getattr(import_name)
28-

0 commit comments

Comments
 (0)