Skip to content

Commit e491d05

Browse files
committed
Remove previous px hexbin stuff
1 parent ee06b49 commit e491d05

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

doc/python/plotly-express.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -340,17 +340,6 @@ fig = px.line_mapbox(df, lat="centroid_lat", lon="centroid_lon", color="peak_hou
340340
fig.show()
341341
```
342342

343-
```python
344-
import plotly.express as px
345-
import numpy as np
346-
px.set_mapbox_access_token(open(".mapbox_token").read())
347-
df = px.data.carshare()
348-
fig = px.hexbin_mapbox(df, lat="centroid_lat", lon="centroid_lon", color="peak_hour",
349-
color_continuous_scale=px.colors.cyclical.IceFire, labels={"color": "Average peak hour"},
350-
gridsize=10, agg_func=np.mean)
351-
fig.show()
352-
```
353-
354343
```python
355344
import plotly.express as px
356345
df = px.data.gapminder()

test/percy/plotly-express.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -443,21 +443,6 @@
443443
)
444444
fig.write_html(os.path.join(dir_name, "line_mapbox.html"))
445445

446-
import plotly.express as px
447-
import numpy as np
448-
449-
carshare = px.data.carshare()
450-
fig = px.hexbin_mapbox(
451-
carshare,
452-
lat="centroid_lat",
453-
lon="centroid_lon",
454-
color="peak_hour",
455-
color_continuous_scale=px.colors.cyclical.IceFire,
456-
gridsize=10,
457-
agg_func=np.mean,
458-
)
459-
fig.write_html(os.path.join(dir_name, "hexbin_mapbox.html"))
460-
461446
import plotly.express as px
462447

463448
sample_geojson = {

0 commit comments

Comments
 (0)