@@ -953,7 +953,7 @@ <h2 id="returns">Returns</h2>
953953< p > A < a title ="plotly_express.ExpressFigure " href ="#plotly_express.ExpressFigure "> < code > ExpressFigure</ code > </ a > object.</ p > </ section >
954954</ dd >
955955< dt id ="plotly_express.bar "> < code class ="name flex ">
956- < span > def < span class ="ident "> bar</ span > </ span > (< span > data_frame, x=None, y=None, color=None, facet_row=None, facet_col=None, hover_name=None, text=None, error_x=None, error_x_minus=None, error_y=None, error_y_minus=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, orientation='v', log_x=False, log_y=False, range_x=None, range_y=None, title=None, template='plotly', width=None, height=600)</ span >
956+ < span > def < span class ="ident "> bar</ span > </ span > (< span > data_frame, x=None, y=None, color=None, facet_row=None, facet_col=None, hover_name=None, text=None, error_x=None, error_x_minus=None, error_y=None, error_y_minus=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, orientation='v', barmode='relative', log_x=False, log_y=False, range_x=None, range_y=None, title=None, template='plotly', width=None, height=600)</ span >
957957</ code > </ dt >
958958< dd >
959959< section class ="desc "> < p > In a bar plot, each row of < code > data_frame</ code > is represented as a rectangular mark.</ p >
@@ -997,6 +997,8 @@ <h2 id="arguments">Arguments</h2>
997997< dd > (dict with string keys and values that are valid CSS-color strings, default < code > {}</ code > ) Used to override < code > color_discrete_sequence</ code > to assign a specific colors to marks corresponding with specific values. Keys in < code > color_discrete_map</ code > should be values in the column denoted by < code > color</ code > .</ dd >
998998< dt > < strong > < code > orientation</ code > </ strong > </ dt >
999999< dd > (string, one of < code > 'h'</ code > or < code > 'v'</ code > ) Default is < code > 'v'</ code > .</ dd >
1000+ < dt > < strong > < code > barmode</ code > </ strong > </ dt >
1001+ < dd > (string, one of < code > 'group'</ code > or < code > 'relative'</ code > . Default is < code > 'relative'</ code > ) In < code > 'relative'</ code > mode, bars are stacked above zero for positive values and below zero for negative values. In < code > 'group'</ code > mode, bars are placed beside each other.</ dd >
10001002< dt > < strong > < code > log_x</ code > </ strong > </ dt >
10011003< dd > (boolean, default < code > False</ code > ) If < code > True</ code > , the x-axis is log-scaled in cartesian coordinates.</ dd >
10021004< dt > < strong > < code > log_y</ code > </ strong > </ dt >
@@ -1187,7 +1189,7 @@ <h2 id="returns">Returns</h2>
11871189< p > A < a title ="plotly_express.ExpressFigure " href ="#plotly_express.ExpressFigure "> < code > ExpressFigure</ code > </ a > object.</ p > </ section >
11881190</ dd >
11891191< dt id ="plotly_express.histogram "> < code class ="name flex ">
1190- < span > def < span class ="ident "> histogram</ span > </ span > (< span > data_frame, x=None, y=None, color=None, facet_row=None, facet_col=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, orientation='v', barmode='stack ', barnorm=None, histnorm=None, log_x=False, log_y=False, range_x=None, range_y=None, histfunc=None, cumulative=None, nbins=None, title=None, template='plotly', width=None, height=600)</ span >
1192+ < span > def < span class ="ident "> histogram</ span > </ span > (< span > data_frame, x=None, y=None, color=None, facet_row=None, facet_col=None, animation_frame=None, animation_group=None, category_orders={}, labels={}, color_discrete_sequence=['#636efa', '#EF553B', '#00cc96', '#ab63fa', '#19d3f3', '#e763fa', '#fecb52', '#ffa15a', '#ff6692', '#b6e880'], color_discrete_map={}, orientation='v', barmode='relative ', barnorm=None, histnorm=None, log_x=False, log_y=False, range_x=None, range_y=None, histfunc=None, cumulative=None, nbins=None, title=None, template='plotly', width=None, height=600)</ span >
11911193</ code > </ dt >
11921194< dd >
11931195< section class ="desc "> < p > In a histogram, rows of < code > data_frame</ code > are grouped together into a rectangular mark to
@@ -1366,7 +1368,8 @@ <h2 id="parameters">Parameters</h2>
13661368'scatter3d', 'scattercarpet', 'scattergeo',
13671369'scattergl', 'scattermapbox', 'scatterpolar',
13681370'scatterpolargl', 'scatterternary', 'splom',
1369- 'streamtube', 'surface', 'table', 'violin']< pre > < code > - All remaining properties are passed to the constructor of
1371+ 'streamtube', 'sunburst', 'surface', 'table',
1372+ 'violin', 'volume', 'waterfall']< pre > < code > - All remaining properties are passed to the constructor of
13701373 the specified trace type
13711374
13721375(e.g. [{'type': 'scatter', ...}, {'type': 'bar, ...}])
@@ -1502,6 +1505,17 @@ <h2 id="parameters">Parameters</h2>
15021505 you can set `false` to disable. Colors provided
15031506 in the trace, using `marker.colors`, are never
15041507 extended.
1508+ extendsunburstcolors
1509+ If `true`, the sunburst slice colors (whether
1510+ given by `sunburstcolorway` or inherited from
1511+ `colorway`) will be extended to three times its
1512+ original length by first repeating every color
1513+ 20% lighter then each color 20% darker. This is
1514+ intended to reduce the likelihood of reusing
1515+ the same color when you have many slices, but
1516+ you can set `false` to disable. Colors provided
1517+ in the trace, using `marker.colors`, are never
1518+ extended.
15051519 font
15061520 Sets the global font. Note that fonts used in
15071521 traces and other layout components inherit from
@@ -1653,6 +1667,12 @@ <h2 id="parameters">Parameters</h2>
16531667 like objects. In addition, some objects can be
16541668 hovered on but will not generate spikelines,
16551669 such as scatter fills.
1670+ sunburstcolorway
1671+ Sets the default sunburst slice colors.
1672+ Defaults to the main `colorway` used for trace
1673+ colors. If you specify a new list here it can
1674+ still be extended with lighter and darker
1675+ colors, see `extendsunburstcolors`.
16561676 template
16571677 Default attributes to be applied to the plot.
16581678 This should be a dict with format: `{'layout':
@@ -1742,6 +1762,20 @@ <h2 id="parameters">Parameters</h2>
17421762 another, you might need to set "opacity" to see
17431763 them multiple violins. Has no effect on traces
17441764 that have "width" set.
1765+ waterfallgap
1766+ Sets the gap (in plot fraction) between bars of
1767+ adjacent location coordinates.
1768+ waterfallgroupgap
1769+ Sets the gap (in plot fraction) between bars of
1770+ the same location coordinate.
1771+ waterfallmode
1772+ Determines how bars at the same location
1773+ coordinate are displayed on the graph. With
1774+ "group", the bars are plotted next to one
1775+ another centered around the shared location.
1776+ With "overlay", the bars are plotted over one
1777+ another, you might need to an "opacity" to see
1778+ multiple bars.
17451779 width
17461780 Sets the plot's width (in px).
17471781 xaxis
0 commit comments