Skip to content

Commit f2dbe5a

Browse files
black
1 parent f680f80 commit f2dbe5a

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

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

@@ -467,9 +465,7 @@ def histogram(
467465
args=locals(),
468466
constructor=go.Histogram,
469467
trace_patch=dict(
470-
histnorm=histnorm,
471-
histfunc=histfunc,
472-
cumulative=dict(enabled=cumulative),
468+
histnorm=histnorm, histfunc=histfunc, cumulative=dict(enabled=cumulative),
473469
),
474470
layout_patch=dict(barmode=barmode, barnorm=barnorm),
475471
)
@@ -529,11 +525,7 @@ def violin(
529525
args=locals(),
530526
constructor=go.Violin,
531527
trace_patch=dict(
532-
points=points,
533-
box=dict(visible=box),
534-
scalegroup=True,
535-
x0=" ",
536-
y0=" ",
528+
points=points, box=dict(visible=box), scalegroup=True, x0=" ", y0=" ",
537529
),
538530
layout_patch=dict(violinmode=violinmode),
539531
)

packages/python/plotly/plotly/express/_doc.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,7 @@
325325
"Setting this value is recommended when using `plotly.express.colors.diverging` color scales as the inputs to `color_continuous_scale`.",
326326
],
327327
size_max=["int (default `20`)", "Set the maximum mark size when using `size`."],
328-
markers=[
329-
"boolean (default `False`)",
330-
"If `True`, markers are shown on lines.",
331-
],
328+
markers=["boolean (default `False`)", "If `True`, markers are shown on lines.",],
332329
log_x=[
333330
"boolean (default `False`)",
334331
"If `True`, the x-axis is log-scaled in cartesian coordinates.",

0 commit comments

Comments
 (0)