Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaudLN committed Jul 11, 2020
1 parent 0a1f48c commit 9b3c2ba
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/python/plotly/plotly/figure_factory/_hexbin_mapbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,12 +441,12 @@ def create_hexbin_mapbox(
original_fig = scatter_mapbox(
data_frame=(
args["data_frame"].sort_values(by=args["animation_frame"])
if args["animation_frame"] is not None else
args["data_frame"]
if args["animation_frame"] is not None
else args["data_frame"]
),
lat=args["lat"],
lon=args["lon"],
animation_frame=args["animation_frame"]
animation_frame=args["animation_frame"],
)
original_fig.data[0].hoverinfo = "skip"
original_fig.data[0].hovertemplate = None
Expand All @@ -461,7 +461,8 @@ def create_hexbin_mapbox(
original_fig.frames[i].data[0].marker = original_data_marker

fig.frames[i].data = [
fig.frames[i].data[0], original_fig.frames[i].data[0],
fig.frames[i].data[0],
original_fig.frames[i].data[0],
]

return fig
Expand All @@ -484,8 +485,8 @@ def create_hexbin_mapbox(
],
show_original_data=[
"bool",
"Whether to show the original data on top of the hexbin aggregation."
"Whether to show the original data on top of the hexbin aggregation.",
],
original_data_marker=["dict", "Scattermapbox marker options."]
original_data_marker=["dict", "Scattermapbox marker options."],
),
)

0 comments on commit 9b3c2ba

Please sign in to comment.