Skip to content

Commit 56b3963

Browse files
black
1 parent d49d274 commit 56b3963

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

packages/python/plotly/plotly/express/_chart_types.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,7 @@ def density_heatmap(
202202
z=[
203203
"For `density_heatmap` and `density_contour` these values are used as the inputs to `histfunc`.",
204204
],
205-
histfunc=[
206-
"The arguments to this function are the values of `z`.",
207-
],
205+
histfunc=["The arguments to this function are the values of `z`.",],
208206
),
209207
)
210208

@@ -469,9 +467,7 @@ def histogram(
469467
args=locals(),
470468
constructor=go.Histogram,
471469
trace_patch=dict(
472-
histnorm=histnorm,
473-
histfunc=histfunc,
474-
cumulative=dict(enabled=cumulative),
470+
histnorm=histnorm, histfunc=histfunc, cumulative=dict(enabled=cumulative),
475471
),
476472
layout_patch=dict(barmode=barmode, barnorm=barnorm),
477473
)
@@ -531,11 +527,7 @@ def violin(
531527
args=locals(),
532528
constructor=go.Violin,
533529
trace_patch=dict(
534-
points=points,
535-
box=dict(visible=box),
536-
scalegroup=True,
537-
x0=" ",
538-
y0=" ",
530+
points=points, box=dict(visible=box), scalegroup=True, x0=" ", y0=" ",
539531
),
540532
layout_patch=dict(violinmode=violinmode),
541533
)

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

Lines changed: 1 addition & 4 deletions
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)