Skip to content

Commit 763aee8

Browse files
black
1 parent de00202 commit 763aee8

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

Diff for: packages/python/plotly/plotly/express/_chart_types.py

+3-11
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,7 @@ def density_heatmap(
200200
z=[
201201
"For `density_heatmap` and `density_contour` these values are used as the inputs to `histfunc`.",
202202
],
203-
histfunc=[
204-
"The arguments to this function are the values of `z`.",
205-
],
203+
histfunc=["The arguments to this function are the values of `z`.",],
206204
),
207205
)
208206

@@ -459,9 +457,7 @@ def histogram(
459457
args=locals(),
460458
constructor=go.Histogram,
461459
trace_patch=dict(
462-
histnorm=histnorm,
463-
histfunc=histfunc,
464-
cumulative=dict(enabled=cumulative),
460+
histnorm=histnorm, histfunc=histfunc, cumulative=dict(enabled=cumulative),
465461
),
466462
layout_patch=dict(barmode=barmode, barnorm=barnorm),
467463
)
@@ -521,11 +517,7 @@ def violin(
521517
args=locals(),
522518
constructor=go.Violin,
523519
trace_patch=dict(
524-
points=points,
525-
box=dict(visible=box),
526-
scalegroup=True,
527-
x0=" ",
528-
y0=" ",
520+
points=points, box=dict(visible=box), scalegroup=True, x0=" ", y0=" ",
529521
),
530522
layout_patch=dict(violinmode=violinmode),
531523
)

0 commit comments

Comments
 (0)