Skip to content

Commit 9b3c2ba

Browse files
committed
black
1 parent 0a1f48c commit 9b3c2ba

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

packages/python/plotly/plotly/figure_factory/_hexbin_mapbox.py

+7-6
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)