Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit31fa891

Browse files
committed
0 parents  commit31fa891

File tree

385 files changed

+165535
-0
lines changed

Some content is hidden

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

385 files changed

+165535
-0
lines changed

‎2019-07-03-2D-Histogram.html

Lines changed: 937 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-2d-histogram-contour.html

Lines changed: 799 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-axes.html

Lines changed: 699 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-bubble-charts.html

Lines changed: 479 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-camera-controls.html

Lines changed: 846 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-isosurface-plots.html

Lines changed: 728 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-line-plots.html

Lines changed: 317 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-mesh.html

Lines changed: 535 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-scatter-plots.html

Lines changed: 488 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-subplots.html

Lines changed: 178 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-surface-plots.html

Lines changed: 586 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-3d-volume.html

Lines changed: 731 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-LaTeX.html

Lines changed: 205 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-animations.html

Lines changed: 818 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-annotated-heatmap.html

Lines changed: 762 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-axes.html

Lines changed: 3807 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-bar-charts.html

Lines changed: 3261 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-bio-alignment-chart.html

Lines changed: 172 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-bio-clustergram.html

Lines changed: 334 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-bio-manhattanplot.html

Lines changed: 246 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-bio-volcano-plot.html

Lines changed: 245 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-box-plots.html

Lines changed: 1663 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-bubble-charts.html

Lines changed: 654 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-bubble-maps.html

Lines changed: 463 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-builtin-colorscales.html

Lines changed: 469 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-bullet-charts.html

Lines changed: 445 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-candlestick-charts.html

Lines changed: 516 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-carpet-contour.html

Lines changed: 490 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-carpet-plot.html

Lines changed: 568 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-carpet-scatter.html

Lines changed: 396 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-categorical-axes.html

Lines changed: 882 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-choropleth-maps.html

Lines changed: 1205 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-click-events.html

Lines changed: 229 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-colorscales.html

Lines changed: 2387 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-cone-plot.html

Lines changed: 484 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-configuration-options.html

Lines changed: 1092 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-continuous-error-bars.html

Lines changed: 254 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-contour-plots.html

Lines changed: 1184 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-county-choropleth.html

Lines changed: 961 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-creating-and-updating-figures.html

Lines changed: 2375 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-custom-buttons.html

Lines changed: 744 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-dash.html

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
description: Analytical Apps with Dash
3+
display_as: file_settings
4+
language: python
5+
layout: base
6+
name: Analytical Apps with Dash
7+
order: 5
8+
page_type: example_index
9+
permalink: https://dash.plotly.com/
10+
sitemap: False
11+
thumbnail: thumbnail/dash_apps.png
12+
---
13+
14+
{% raw %}
15+
<divclass="cell border-box-sizing text_cell rendered"><divclass="prompt input_prompt">
16+
</div><divclass="inner_cell">
17+
<divclass="text_cell_render border-box-sizing rendered_html">
18+
19+
</div>
20+
</div>
21+
</div>
22+
<divclass="cell border-box-sizing text_cell rendered"><divclass="prompt input_prompt">
23+
</div><divclass="inner_cell">
24+
<divclass="text_cell_render border-box-sizing rendered_html">
25+
<h3id="What-About-Dash?">What About Dash?<aclass="anchor-link"href="#What-About-Dash?">&#182;</a></h3><p><ahref="https://dash.plot.ly/">Dash</a> is an open-source framework for building analytical applications, with no Javascript required, and it is tightly integrated with the Plotly graphing library.</p>
26+
<p>Learn about how to install Dash at<ahref="https://dash.plot.ly/installation">https://dash.plot.ly/installation</a>.</p>
27+
<p>Everywhere in this page that you see<code>fig.show()</code>, you can display the same figure in a Dash application by passing it to the<code>figure</code> argument of the<ahref="https://dash.plot.ly/dash-core-components/graph"><code>Graph</code> component</a> from the built-in<code>dash_core_components</code> package like this:</p>
28+
<divclass="highlight"><pre><span></span><spanclass="kn">import</span><spanclass="w"></span><spanclass="nn">plotly.graph_objects</span><spanclass="w"></span><spanclass="k">as</span><spanclass="w"></span><spanclass="nn">go</span><spanclass="c1"># or plotly.express as px</span>
29+
<spanclass="n">fig</span><spanclass="o">=</span><spanclass="n">go</span><spanclass="o">.</span><spanclass="n">Figure</span><spanclass="p">()</span><spanclass="c1"># or any Plotly Express function e.g. px.bar(...)</span>
30+
<spanclass="c1"># fig.add_trace( ... )</span>
31+
<spanclass="c1"># fig.update_layout( ... )</span>
32+
33+
<spanclass="kn">from</span><spanclass="w"></span><spanclass="nn">dash</span><spanclass="w"></span><spanclass="kn">import</span><spanclass="n">Dash</span><spanclass="p">,</span><spanclass="n">dcc</span><spanclass="p">,</span><spanclass="n">html</span>
34+
35+
<spanclass="n">app</span><spanclass="o">=</span><spanclass="n">Dash</span><spanclass="p">()</span>
36+
<spanclass="n">app</span><spanclass="o">.</span><spanclass="n">layout</span><spanclass="o">=</span><spanclass="n">html</span><spanclass="o">.</span><spanclass="n">Div</span><spanclass="p">([</span>
37+
<spanclass="n">dcc</span><spanclass="o">.</span><spanclass="n">Graph</span><spanclass="p">(</span><spanclass="n">figure</span><spanclass="o">=</span><spanclass="n">fig</span><spanclass="p">)</span>
38+
<spanclass="p">])</span>
39+
40+
<spanclass="n">app</span><spanclass="o">.</span><spanclass="n">run</span><spanclass="p">(</span><spanclass="n">debug</span><spanclass="o">=</span><spanclass="kc">True</span><spanclass="p">,</span><spanclass="n">use_reloader</span><spanclass="o">=</span><spanclass="kc">False</span><spanclass="p">)</span><spanclass="c1"># Turn off reloader if inside Jupyter</span>
41+
</pre></div>
42+
43+
</div>
44+
</div>
45+
</div>
46+
47+
48+
49+
50+
{% endraw %}

‎2019-07-03-dendrogram.html

Lines changed: 439 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-density-heatmaps.html

Lines changed: 257 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-discrete-color.html

Lines changed: 1124 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-distplot.html

Lines changed: 1057 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-dot-plots.html

Lines changed: 430 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-dropdowns.html

Lines changed: 805 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-dumbbell-plots.html

Lines changed: 341 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-ecdf-plots.html

Lines changed: 1011 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-error-bars.html

Lines changed: 753 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-facet-plots.html

Lines changed: 1003 additions & 0 deletions
Large diffs are not rendered by default.

‎2019-07-03-figure-factories.html

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
description: Figure Factories are dedicated functions for creating very specific types of plots.
3+
display_as: file_settings
4+
language: python
5+
layout: base
6+
name: Figure Factories
7+
order: 33
8+
permalink: python/figure-factories/
9+
thumbnail: thumbnail/streamline.jpg
10+
---
11+
12+
{% raw %}
13+
<divclass="cell border-box-sizing text_cell rendered"><divclass="prompt input_prompt">
14+
</div><divclass="inner_cell">
15+
<divclass="text_cell_render border-box-sizing rendered_html">
16+
<h4id="plotly.figure_factory"><code>plotly.figure_factory</code><aclass="anchor-link"href="#plotly.figure_factory">&#182;</a></h4><p>The<code>plotly.figure_factory</code> module contains dedicated functions for creating very specific types of plots that were at the time of their creation difficult to create with<ahref="/python/graph-objects/">graph objects</a> and prior to the existence of<ahref="/python/plotly-express/">Plotly Express</a>. As new functionality gets added to<ahref="https://plotly.com/javascript/">Plotly.js</a> and to Plotly Express, certain Figure Factories become unnecessary and are therefore deprecated as "legacy", but remain in the module for backwards-compatibility reasons.</p>
17+
<p>The following types of plots are still difficult to create with Graph Objects or Plotly Express and therefore the corresponding Figure Factories are<em>not</em> deprecated:</p>
18+
<ul>
19+
<li><ahref="/python/dendrogram/">Dendrograms</a></li>
20+
<li><ahref="/python/hexbin-mapbox/">Hexagonal Binning Tile Map</a></li>
21+
<li><ahref="/python/quiver-plots/">Quiver Plots</a></li>
22+
<li><ahref="/python/streamline-plots/">Streamline Plots</a></li>
23+
<li><ahref="/python/figure-factory-table/">Tables</a></li>
24+
<li><ahref="/python/ternary-contour/">Ternary Contour Plots</a></li>
25+
<li><ahref="/python/trisurf/">Triangulated Surface Plots</a></li>
26+
</ul>
27+
<p>Deprecated "legacy" Figure Factories include:</p>
28+
<ul>
29+
<li><ahref="/python/annotated-heatmap/">Annotated Heatmaps</a>, deprecated by<ahref="/python/heatmaps/">heatmaps with<code>px.imshow()</code></a></li>
30+
<li><ahref="/python/county-choropleth/">County Choropleth Maps</a>, deprecated by regular<ahref="/python/choropleth-maps/">Choropleth maps with GeoJSON input</a></li>
31+
<li><ahref="/python/distplot/">Distplots</a>, mostly deprecated by<ahref="/python/histograms/"><code>px.histogram</code></a> except for KDE plots, which<code>px.histogram</code> doesn't support yet</li>
32+
<li><ahref="/python/gantt/">Gantt Charts</a>, deprecated by<ahref="/python/gantt/"><code>px.timeline</code></a></li>
33+
</ul>
34+
<h4id="Reference">Reference<aclass="anchor-link"href="#Reference">&#182;</a></h4><p>For more information about the contents of<code>plotly.figure_factory</code>, including deprecated methods, please refer to our<ahref="https://plotly.com/python-api-reference/plotly.figure_factory.html">API Reference documentation</a>.</p>
35+
36+
</div>
37+
</div>
38+
</div>
39+
<divclass="cell border-box-sizing text_cell rendered"><divclass="prompt input_prompt">
40+
</div><divclass="inner_cell">
41+
<divclass="text_cell_render border-box-sizing rendered_html">
42+
<h3id="What-About-Dash?">What About Dash?<aclass="anchor-link"href="#What-About-Dash?">&#182;</a></h3><p><ahref="https://dash.plot.ly/">Dash</a> is an open-source framework for building analytical applications, with no Javascript required, and it is tightly integrated with the Plotly graphing library.</p>
43+
<p>Learn about how to install Dash at<ahref="https://dash.plot.ly/installation">https://dash.plot.ly/installation</a>.</p>
44+
<p>Everywhere in this page that you see<code>fig.show()</code>, you can display the same figure in a Dash application by passing it to the<code>figure</code> argument of the<ahref="https://dash.plot.ly/dash-core-components/graph"><code>Graph</code> component</a> from the built-in<code>dash_core_components</code> package like this:</p>
45+
<divclass="highlight"><pre><span></span><spanclass="kn">import</span><spanclass="w"></span><spanclass="nn">plotly.graph_objects</span><spanclass="w"></span><spanclass="k">as</span><spanclass="w"></span><spanclass="nn">go</span><spanclass="c1"># or plotly.express as px</span>
46+
<spanclass="n">fig</span><spanclass="o">=</span><spanclass="n">go</span><spanclass="o">.</span><spanclass="n">Figure</span><spanclass="p">()</span><spanclass="c1"># or any Plotly Express function e.g. px.bar(...)</span>
47+
<spanclass="c1"># fig.add_trace( ... )</span>
48+
<spanclass="c1"># fig.update_layout( ... )</span>
49+
50+
<spanclass="kn">from</span><spanclass="w"></span><spanclass="nn">dash</span><spanclass="w"></span><spanclass="kn">import</span><spanclass="n">Dash</span><spanclass="p">,</span><spanclass="n">dcc</span><spanclass="p">,</span><spanclass="n">html</span>
51+
52+
<spanclass="n">app</span><spanclass="o">=</span><spanclass="n">Dash</span><spanclass="p">()</span>
53+
<spanclass="n">app</span><spanclass="o">.</span><spanclass="n">layout</span><spanclass="o">=</span><spanclass="n">html</span><spanclass="o">.</span><spanclass="n">Div</span><spanclass="p">([</span>
54+
<spanclass="n">dcc</span><spanclass="o">.</span><spanclass="n">Graph</span><spanclass="p">(</span><spanclass="n">figure</span><spanclass="o">=</span><spanclass="n">fig</span><spanclass="p">)</span>
55+
<spanclass="p">])</span>
56+
57+
<spanclass="n">app</span><spanclass="o">.</span><spanclass="n">run</span><spanclass="p">(</span><spanclass="n">debug</span><spanclass="o">=</span><spanclass="kc">True</span><spanclass="p">,</span><spanclass="n">use_reloader</span><spanclass="o">=</span><spanclass="kc">False</span><spanclass="p">)</span><spanclass="c1"># Turn off reloader if inside Jupyter</span>
58+
</pre></div>
59+
60+
</div>
61+
</div>
62+
</div>
63+
64+
65+
66+
67+
{% endraw %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp