plotly.graph_objs.violin Module

Functions

plotly.graph_objs.violin.Box([fillcolor=], [line=], [visible=], [width=]) → Box

Create a new ‘Box’ object

  • fillcolor - Sets the inner box plot fill color.

  • visible - Determines if an miniature box plot is drawn inside the violins.

  • width - Sets the width of the inner box plots relative to the violins' width. For example, with 1, the inner box plots are as wide as the violins.


plotly.graph_objs.violin.Hoverlabel([align=], [alignsrc=], [bgcolor=], [bgcolorsrc=], [bordercolor=], [bordercolorsrc=], [font=], [namelength=], [namelengthsrc=]) → Hoverlabel

Create a new ‘Hoverlabel’ object

  • align - Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines

  • alignsrc - Sets the source reference on Chart Studio Cloud for `align`.

  • bgcolor - Sets the background color of the hover labels for this trace

  • bgcolorsrc - Sets the source reference on Chart Studio Cloud for `bgcolor`.

  • bordercolor - Sets the border color of the hover labels for this trace.

  • bordercolorsrc - Sets the source reference on Chart Studio Cloud for `bordercolor`.

  • font - Sets the font used in hover labels.

  • namelength - Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis.

  • namelengthsrc - Sets the source reference on Chart Studio Cloud for `namelength`.


plotly.graph_objs.violin.Legendgrouptitle([font=], [text=]) → Legendgrouptitle

Create a new ‘Legendgrouptitle’ object

  • font - Sets this legend group's title font.

  • text - Sets the title of the legend group.


plotly.graph_objs.violin.Line([color=], [width=]) → Line

Create a new ‘Line’ object

  • color - Sets the color of line bounding the violin(s).

  • width - Sets the width (in px) of line bounding the violin(s).


plotly.graph_objs.violin.Marker([angle=], [color=], [line=], [opacity=], [outliercolor=], [size=], [symbol=]) → Marker

Create a new ‘Marker’ object

  • angle - Sets the marker angle in respect to `angleref`.

  • color - Sets the marker color. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set.

  • opacity - Sets the marker opacity.

  • outliercolor - Sets the color of the outlier sample points.

  • size - Sets the marker size (in px).

  • symbol - Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name.


plotly.graph_objs.violin.Meanline([color=], [visible=], [width=]) → Meanline

Create a new ‘Meanline’ object

  • color - Sets the mean line color.

  • visible - Determines if a line corresponding to the sample's mean is shown inside the violins. If `box.visible` is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other.

  • width - Sets the mean line width.


plotly.graph_objs.violin.Selected([marker=]) → Selected

Create a new ‘Selected’ object


    plotly.graph_objs.violin.Stream([maxpoints=], [token=]) → Stream

    Create a new ‘Stream’ object

    • maxpoints - Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot.

    • token - The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.


    plotly.graph_objs.violin.Unselected([marker=]) → Unselected

    Create a new ‘Unselected’ object


      Globals








      Do you still have questions?

      Our Community Forum is full of helpful information and Anvil experts.


      plotly.graph_objs.violin