File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
packages/python/plotly/plotly/figure_factory Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -441,12 +441,12 @@ def create_hexbin_mapbox(
441441 original_fig = scatter_mapbox (
442442 data_frame = (
443443 args ["data_frame" ].sort_values (by = args ["animation_frame" ])
444- if args ["animation_frame" ] is not None else
445- args ["data_frame" ]
444+ if args ["animation_frame" ] is not None
445+ else args ["data_frame" ]
446446 ),
447447 lat = args ["lat" ],
448448 lon = args ["lon" ],
449- animation_frame = args ["animation_frame" ]
449+ animation_frame = args ["animation_frame" ],
450450 )
451451 original_fig .data [0 ].hoverinfo = "skip"
452452 original_fig .data [0 ].hovertemplate = None
@@ -461,7 +461,8 @@ def create_hexbin_mapbox(
461461 original_fig .frames [i ].data [0 ].marker = original_data_marker
462462
463463 fig .frames [i ].data = [
464- fig .frames [i ].data [0 ], original_fig .frames [i ].data [0 ],
464+ fig .frames [i ].data [0 ],
465+ original_fig .frames [i ].data [0 ],
465466 ]
466467
467468 return fig
@@ -484,8 +485,8 @@ def create_hexbin_mapbox(
484485 ],
485486 show_original_data = [
486487 "bool" ,
487- "Whether to show the original data on top of the hexbin aggregation."
488+ "Whether to show the original data on top of the hexbin aggregation." ,
488489 ],
489- original_data_marker = ["dict" , "Scattermapbox marker options." ]
490+ original_data_marker = ["dict" , "Scattermapbox marker options." ],
490491 ),
491492)
You can’t perform that action at this time.
0 commit comments