File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11from plotly .express ._core import build_dataframe
22from plotly .express ._doc import make_docstring
3- from plotly .express ._chart_types import choropleth_mapbox , scatter_mapbox
3+ from plotly .express ._chart_types import choropleth_map , scatter_map
44import narwhals .stable .v1 as nw
55import numpy as np
66
@@ -446,7 +446,7 @@ def create_hexbin_mapbox(
446446 if range_color is None :
447447 range_color = [agg_data_frame ["color" ].min (), agg_data_frame ["color" ].max ()]
448448
449- fig = choropleth_mapbox (
449+ fig = choropleth_map (
450450 data_frame = agg_data_frame .to_native (),
451451 geojson = geojson ,
452452 locations = "locations" ,
@@ -462,15 +462,15 @@ def create_hexbin_mapbox(
462462 opacity = opacity ,
463463 zoom = zoom ,
464464 center = center ,
465- mapbox_style = mapbox_style ,
465+ map_style = mapbox_style ,
466466 title = title ,
467467 template = template ,
468468 width = width ,
469469 height = height ,
470470 )
471471
472472 if show_original_data :
473- original_fig = scatter_mapbox (
473+ original_fig = scatter_map (
474474 data_frame = (
475475 args ["data_frame" ].sort (
476476 by = args ["animation_frame" ], descending = False , nulls_last = True
You can’t perform that action at this time.
0 commit comments