File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 2929
3030if optional_imports .get_module ("pandas" ) is not None :
3131 from plotly .figure_factory ._county_choropleth import create_choropleth
32- from plotly .figure_factory ._hexbin_map import create_hexbin_map
32+ from plotly .figure_factory ._hexbin_map import (
33+ create_hexbin_map ,
34+ create_hexbin_mapbox ,
35+ )
3336else :
3437
3538 def create_choropleth (* args , ** kwargs ):
@@ -38,6 +41,9 @@ def create_choropleth(*args, **kwargs):
3841 def create_hexbin_map (* args , ** kwargs ):
3942 raise ImportError ("Please install pandas to use `create_hexbin_map`" )
4043
44+ def create_hexbin_mapbox (* args , ** kwargs ):
45+ raise ImportError ("Please install pandas to use `create_hexbin_mapbox`" )
46+
4147
4248if optional_imports .get_module ("skimage" ) is not None :
4349 from plotly .figure_factory ._ternary_contour import create_ternary_contour
@@ -58,6 +64,7 @@ def create_ternary_contour(*args, **kwargs):
5864 "create_facet_grid" ,
5965 "create_gantt" ,
6066 "create_hexbin_map" ,
67+ "create_hexbin_mapbox" ,
6168 "create_ohlc" ,
6269 "create_quiver" ,
6370 "create_scatterplotmatrix" ,
You can’t perform that action at this time.
0 commit comments