-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplotly.io.html
More file actions
188 lines (158 loc) · 11.4 KB
/
plotly.io.html
File metadata and controls
188 lines (158 loc) · 11.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>plotly.io: low-level interface for displaying, reading and writing figures — 4.6.0 documentation</title>
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="_static/plotly-style.css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="plotly.io.to_image" href="generated/plotly.io.to_image.html" />
<link rel="prev" title="plotly.figure_factory.create_violin" href="generated/plotly.figure_factory.create_violin.html" />
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="_static/js/jquery-1.11.0.min.js "></script>
<script type="text/javascript" src="_static/js/jquery-fix.js "></script>
<script type="text/javascript" src="_static/bootstrap-3.3.7/js/bootstrap.min.js "></script>
<script type="text/javascript" src="_static/bootstrap-sphinx.js "></script>
</head><body>
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"><span><img src="_static/logo.png"></span>
</a>
<span class="navbar-text navbar-version pull-left"><b></b></span>
</div>
<div class="collapse navbar-collapse nav-collapse">
<ul class="nav navbar-nav">
<li class="dropdown globaltoc-container">
<a role="button"
id="dLabelGlobalToc"
data-toggle="dropdown"
data-target="#"
href="index.html">Site <b class="caret"></b></a>
<ul class="dropdown-menu globaltoc"
role="menu"
aria-labelledby="dLabelGlobalToc"><ul class="current">
<li class="toctree-l1"><a class="reference internal" href="plotly.express.html"><code class="docutils literal notranslate"><span class="pre">plotly.express</span></code>: high-level interface for data visualization</a></li>
<li class="toctree-l1"><a class="reference internal" href="plotly.graph_objects.html"><code class="docutils literal notranslate"><span class="pre">plotly.graph_objects</span></code>: low-level interface to figures, traces and layout</a></li>
<li class="toctree-l1"><a class="reference internal" href="plotly.subplots.html"><code class="docutils literal notranslate"><span class="pre">plotly.subplots</span></code>: helper function for laying out multi-plot figures</a></li>
<li class="toctree-l1"><a class="reference internal" href="plotly.figure_factory.html"><code class="docutils literal notranslate"><span class="pre">plotly.figure_factory</span></code>: helper methods for building specific complex charts</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#"><code class="docutils literal notranslate"><span class="pre">plotly.io</span></code>: low-level interface for displaying, reading and writing figures</a></li>
</ul>
</ul>
</li>
<li class="dropdown">
<a role="button"
id="dLabelLocalToc"
data-toggle="dropdown"
data-target="#"
href="#">Page <b class="caret"></b></a>
<ul class="dropdown-menu localtoc"
role="menu"
aria-labelledby="dLabelLocalToc"><ul>
<li><a class="reference internal" href="#"><code class="docutils literal notranslate"><span class="pre">plotly.io</span></code>: low-level interface for displaying, reading and writing figures</a></li>
</ul>
</ul>
</li>
<li>
<a href="generated/plotly.figure_factory.create_violin.html" title="Previous Chapter: plotly.figure_factory.create_violin"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« plotly.figure...</span>
</a>
</li>
<li>
<a href="generated/plotly.io.to_image.html" title="Next Chapter: plotly.io.to_image"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">plotly.io.to_image »</span>
</a>
</li>
</ul>
<form class="navbar-form navbar-right" action="search.html" method="get">
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search" />
</div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="body col-md-12 content" role="main">
<div class="section" id="plotly-io-low-level-interface-for-displaying-reading-and-writing-figures">
<span id="io"></span><h1><code class="docutils literal notranslate"><span class="pre">plotly.io</span></code>: low-level interface for displaying, reading and writing figures<a class="headerlink" href="#plotly-io-low-level-interface-for-displaying-reading-and-writing-figures" title="Permalink to this headline">¶</a></h1>
<table class="longtable docutils align-default">
<colgroup>
<col style="width: 10%" />
<col style="width: 90%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/plotly.io.to_image.html#plotly.io.to_image" title="plotly.io.to_image"><code class="xref py py-obj docutils literal notranslate"><span class="pre">to_image</span></code></a>(fig[, format, width, height, …])</p></td>
<td><p>Convert a figure to a static image bytes string</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/plotly.io.write_image.html#plotly.io.write_image" title="plotly.io.write_image"><code class="xref py py-obj docutils literal notranslate"><span class="pre">write_image</span></code></a>(fig, file[, format, scale, …])</p></td>
<td><p>Convert a figure to a static image and write it to a file or writeable object</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/plotly.io.to_json.html#plotly.io.to_json" title="plotly.io.to_json"><code class="xref py py-obj docutils literal notranslate"><span class="pre">to_json</span></code></a>(fig[, validate, pretty, remove_uids])</p></td>
<td><p>Convert a figure to a JSON string representation</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/plotly.io.from_json.html#plotly.io.from_json" title="plotly.io.from_json"><code class="xref py py-obj docutils literal notranslate"><span class="pre">from_json</span></code></a>(value[, output_type, skip_invalid])</p></td>
<td><p>Construct a figure from a JSON string</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/plotly.io.read_json.html#plotly.io.read_json" title="plotly.io.read_json"><code class="xref py py-obj docutils literal notranslate"><span class="pre">read_json</span></code></a>(file[, output_type, skip_invalid])</p></td>
<td><p>Construct a figure from the JSON contents of a local file or readable Python object</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/plotly.io.write_json.html#plotly.io.write_json" title="plotly.io.write_json"><code class="xref py py-obj docutils literal notranslate"><span class="pre">write_json</span></code></a>(fig, file[, validate, pretty, …])</p></td>
<td><p>Convert a figure to JSON and write it to a file or writeable object</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/plotly.io.templates.html#plotly.io.templates" title="plotly.io.templates"><code class="xref py py-obj docutils literal notranslate"><span class="pre">templates</span></code></a></p></td>
<td><p>Singleton object containing the current figure templates (aka themes)</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/plotly.io.to_templated.html#plotly.io.to_templated" title="plotly.io.to_templated"><code class="xref py py-obj docutils literal notranslate"><span class="pre">to_templated</span></code></a>(fig[, skip])</p></td>
<td><p>Return a copy of a figure where all styling properties have been moved into the figure’s template.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/plotly.io.to_html.html#plotly.io.to_html" title="plotly.io.to_html"><code class="xref py py-obj docutils literal notranslate"><span class="pre">to_html</span></code></a>(fig[, config, auto_play, …])</p></td>
<td><p>Convert a figure to an HTML string representation.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/plotly.io.write_html.html#plotly.io.write_html" title="plotly.io.write_html"><code class="xref py py-obj docutils literal notranslate"><span class="pre">write_html</span></code></a>(fig, file[, config, auto_play, …])</p></td>
<td><p>Write a figure to an HTML file representation</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/plotly.io.renderers.html#plotly.io.renderers" title="plotly.io.renderers"><code class="xref py py-obj docutils literal notranslate"><span class="pre">renderers</span></code></a></p></td>
<td><p>Singleton object containing the current renderer configurations</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/plotly.io.show.html#plotly.io.show" title="plotly.io.show"><code class="xref py py-obj docutils literal notranslate"><span class="pre">show</span></code></a>(fig[, renderer, validate])</p></td>
<td><p>Show a figure using either the default renderer(s) or the renderer(s) specified by the renderer argument</p></td>
</tr>
</tbody>
</table>
<span class="target" id="module-plotly.io"></span></div>
</div>
</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39373211-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>