Live Chat

We'll need to share your messages (and your email address if you're logged in) with our live chat provider, Drift. Here's their privacy policy.

If you don't want to do this, you can email us instead at contact@anvil.works.

plotly.graph_objs.violin Module

Functions

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

Create a new ‘Box’ object

  • 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.

  • fillcolor - Sets the inner box plot fill color.


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

Create a new ‘Hoverlabel’ object

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

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

  • font - Sets the font used in hover labels.

  • 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

  • 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.

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

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

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

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


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([outliercolor=], [symbol=], [opacity=], [size=], [color=], [line=]) → Marker

Create a new ‘Marker’ object

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

  • 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.

  • opacity - Sets the marker opacity.

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

  • color - Sets themarkercolor. 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.


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

Create a new ‘Meanline’ object

  • 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.

  • color - Sets the mean line color.

  • width - Sets the mean line width.


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

Create a new ‘Selected’ object


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

    Create a new ‘Stream’ object

    • 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.

    • 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.


    plotly.graph_objs.violin.Transform() → Transform

    Create a new ‘Transform’ object


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

    Create a new ‘Unselected’ object


      Globals







      plotly.graph_objs.violin