Skip to content

Commit bbe07da

Browse files
committed
add references to cloud
1 parent bf29422 commit bbe07da

Some content is hidden

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

45 files changed

+95
-95
lines changed

doc/python/3d-mesh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fig.show()
7272

7373
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
7474

75-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
75+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
7676

7777

7878
```python hide_code=true

doc/python/3d-scatter-plots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fig.show()
7777

7878
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
7979

80-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
80+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
8181

8282

8383
```python hide_code=true

doc/python/animations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ px.scatter(df, x="gdpPercap", y="lifeExp", animation_frame="year", animation_gro
5252

5353
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
5454

55-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
55+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
5656

5757

5858
```python hide_code=true

doc/python/axes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ fig.show()
128128

129129
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
130130

131-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
131+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
132132

133133

134134
```python hide_code=true

doc/python/bar-charts.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jupyter:
66
extension: .md
77
format_name: markdown
88
format_version: '1.3'
9-
jupytext_version: 1.16.4
9+
jupytext_version: 1.17.3
1010
kernelspec:
1111
display_name: Python 3 (ipykernel)
1212
language: python
@@ -20,7 +20,7 @@ jupyter:
2020
name: python
2121
nbconvert_exporter: python
2222
pygments_lexer: ipython3
23-
version: 3.11.10
23+
version: 3.9.0
2424
plotly:
2525
description: How to make Bar Charts in Python with Plotly.
2626
display_as: basic
@@ -91,7 +91,7 @@ wide_df
9191

9292
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
9393

94-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
94+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
9595

9696

9797
```python hide_code=true
@@ -589,33 +589,33 @@ fig.update_layout(
589589
)
590590
```
591591

592-
### Using a scatterplot to wrap long bars into multiple columns
592+
### Using a scatterplot to wrap long bars into multiple columns
593593

594594
This bar-style pictogram allows readers to focus on the relative sizes of smaller entities by wrapping the bar for largest entries into multiple columns. You could make it even more of a pictogram by using fontawesome to replace the square markers we use below with icons like mortar boards for students.
595595

596596
```python
597597
import plotly.graph_objects as go
598598
import pandas as pd
599599
def pictogram_bar(data, title, icon_size, max_icons_per_column=10, units_per_icon=1, unit_description="", inter_group_spacing=.8,icon_vertical_spacing=0.005):
600-
600+
601601
fig = go.Figure()
602602
x_start = 1
603603
tick_locations = []
604-
#loop through each group and create a trace with its icons
604+
#loop through each group and create a trace with its icons
605605
for i, (category, value) in enumerate(data.items()):
606606
# compute the number of icons to use to represent this category. Depending on your use case, you might replace round with floor or ceiling.
607607
icon_count = round(value / units_per_icon)
608608
# compute the number of columns in which to arrange the icons for this category
609609
# using a double negative sign to convert a floor(division) operation into a ceiling(division) operation
610610
num_columns = -(-icon_count // max_icons_per_column)
611-
611+
612612
#create and populate lists of icon coordinates
613613
x_coordinates, y_coordinates = [], []
614614
for col in range(num_columns):
615615
# the number of icons in this column is the lesser of the column height or
616616
# the number of icons remaining to place
617617
column_icons = min(max_icons_per_column, icon_count - col * max_icons_per_column)
618-
618+
619619
# Create a one item list containing the x-coordinate of this column.
620620
# Then add column_icons copies of that coordinate to the list of icon x coordinates using list multiplication.
621621
# Normalizing the width of each within-category column to 1 simplifies the code.
@@ -634,7 +634,7 @@ def pictogram_bar(data, title, icon_size, max_icons_per_column=10, units_per_ico
634634
hoverinfo="text",
635635
text=[f"{category}: {value}" for _ in range(len(x_coordinates))]
636636
))
637-
637+
638638
# Add an annotation above the center of each category showing its value
639639
fig.add_trace(go.Scatter(
640640
x=[x_start + (num_columns - 1) / 2], # Compute the location of the center
@@ -661,18 +661,18 @@ def pictogram_bar(data, title, icon_size, max_icons_per_column=10, units_per_ico
661661
),
662662
yaxis=dict(
663663
title=f"Each icon represents {units_per_icon:,g} {unit_description}",
664-
# The y-axis goes above the top icon to make room for the annotations.
664+
# The y-axis goes above the top icon to make room for the annotations.
665665
# We set tick values so the axis labeling does not go above the top icon.
666666
# If you choose a value of max_icons_per_column that is not a multiple of 5, consider changing this.
667667
tickvals=list(range(0,max_icons_per_column+1,5)),
668668
showgrid=False,
669669
zeroline=False,
670670
),
671671
# We have already got all the labeling we need so we suppress the legend.
672-
showlegend=False,
672+
showlegend=False,
673673
height=700,
674674
# The x-coordinates scale to fill available space, so adjusting the width of the image is a good way to adjust spacing between columns.
675-
width=(len(data) * 150 + 50)
675+
width=(len(data) * 150 + 50)
676676
)
677677
fig.show()
678678

doc/python/bio-volcano-plot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jupyter:
77
extension: .md
88
format_name: markdown
99
format_version: '1.3'
10-
jupytext_version: 1.13.0
10+
jupytext_version: 1.17.3
1111
kernelspec:
1212
display_name: Python 3 (ipykernel)
1313
language: python
@@ -21,7 +21,7 @@ jupyter:
2121
name: python
2222
nbconvert_exporter: python
2323
pygments_lexer: ipython3
24-
version: 3.9.7
24+
version: 3.9.0
2525
plotly:
2626
display_as: bio
2727
language: python

doc/python/box-plots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fig.show()
6969

7070
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
7171

72-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
72+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
7373

7474
```python hide_code=true
7575
from IPython.display import IFrame

doc/python/builtin-colorscales.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ print(px.colors.sequential.Plasma)
7878

7979
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
8080

81-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
81+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
8282

8383

8484
```python hide_code=true

doc/python/candlestick-charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fig.show()
7878

7979
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
8080

81-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
81+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
8282

8383

8484
```python hide_code=true

doc/python/choropleth-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fig.show()
147147

148148
[Dash](https://plotly.com/dash/) is the best way to build analytical apps in Python using Plotly figures. To run the app below, run `pip install dash`, click "Download" to get the code and run `python app.py`.
149149

150-
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & [deploy](https://plotly.com/dash/app-manager/) apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a>.**
150+
Get started with [the official Dash docs](https://dash.plotly.com/installation) and **learn how to effortlessly [style](https://plotly.com/dash/design-kit/) & publish apps like this with <a class="plotly-red" href="https://plotly.com/dash/">Dash Enterprise</a> or <a class="plotly-red" href="https://plotly.com/cloud/">Plotly Cloud</a>.**
151151

152152
```python hide_code=true
153153
from IPython.display import IFrame

0 commit comments

Comments
 (0)