Skip to content

Commit 72039da

Browse files
committed
Added docs to packages that hold same-name modules for better help.
1 parent fa180c4 commit 72039da

3 files changed

Lines changed: 77 additions & 0 deletions

File tree

plotly/graph_objs/__init__.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
"""
2+
graph_objs
3+
==========
4+
5+
This package imports definitions for all of Plotly's graph objects. For more
6+
information, run help(Obj) on any of the following objects defined here...
7+
8+
Defined Objects:
9+
10+
Data Objects (things that make up your 'Data' list:
11+
Bar
12+
Box
13+
Contour
14+
Heatmap
15+
Histogram
16+
Histogram2d
17+
Histogram2dContour
18+
Scatter
19+
20+
Other Objects (everything else):
21+
22+
Data
23+
Annotations
24+
Annotation
25+
ColorBar
26+
Contours
27+
ErrorY
28+
Figure
29+
Font
30+
Layout
31+
Legend
32+
Line
33+
Margin
34+
Marker
35+
Stream
36+
Trace
37+
XAxis
38+
XBins
39+
YAxis
40+
YBins
41+
42+
"""
143
from graph_objs import *
244

345
__all__ = ["Data", "Annotations", "Bar", "Box", "Contour", "Heatmap",

plotly/matplotlylib/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1+
"""
2+
matplotlylib
3+
============
4+
5+
This module converts matplotlib figure objects into JSON structures which can
6+
be understood and visualized by Plotly.
7+
8+
Most of the functionality should be accessed through the parent directory's
9+
'tools' or 'plotly' modules.
10+
11+
"""
112
from . renderer import PlotlyRenderer
213
from . mplexporter import Exporter

plotly/plotly/__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
"""
2+
plotly
3+
======
4+
5+
This module defines functionality that requires interaction between your
6+
local machine and Plotly. Almost all functionality used here will required a
7+
verifiable account and an internet connection.
8+
9+
Classes:
10+
image
11+
Stream
12+
13+
Functions:
14+
sign_in
15+
iplot
16+
plot
17+
iplot_mpl
18+
plot_mpl
19+
get_figure
20+
update_plot_options
21+
get_plot_options
22+
get_credentials
23+
24+
"""
125
from plotly import *
226

327
__all__ = ["sign_in", "update_plot_options", "get_plot_options",

0 commit comments

Comments
 (0)