We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50854da commit 469014eCopy full SHA for 469014e
test/percy/plotly-express.py
@@ -443,6 +443,21 @@
443
)
444
fig.write_html(os.path.join(dir_name, "line_mapbox.html"))
445
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
461
import plotly.express as px
462
463
sample_geojson = {
0 commit comments