Violinplot Plotly
Violin plot from plotly
Plotly violin plot plotly.express.violin()
please check : [https://plotly.com/python-api-reference/generated/plotly.express.violin.html] for more info
Input
Output
Configuration
x
str: column name for x-axis' values
string
y
str: column name for y-axis' values
string
color
str: column name to color the graph figures
string
title
Title of the graph
string
y_axis_name
set the y axis name
string
x_axis_name
set the x axis name
string
template
Plotly template to use
string
ggplot2
seaborn
simple_white
plotly
plotly_dark
presentation
xgridoff
ygridoff
gridon
none
animation_frame
str: Values from this column are used to assign marks to animation frames.
string
animation_group
str: Values from this column are used to provide object-constancy across animation frames: rows with matching `animation_group`s will be treated as if they describe the same object in each frame.
string
log_x
the x-axis is log-scaled in cartesian coordinates.
bool
log_y
the y-axis is log-scaled in cartesian coordinates.
bool
range_x
If provided, overrides auto-scaling on the x-axis in cartesian coordinates.
string
range_y
If provided, overrides auto-scaling on the y-axis in cartesian coordinates.
string
width
int: The figure width in pixels.
int
height
int The figure height in pixels
int
label_columns
one column per line, and same line for the text
list
label_text
text for labels, size should match 'colot to label'
list
facet_row
str: Values from this column are used to assign marks to facetted subplots in the vertical direction.
string
facet_col
Values from this column are used to assign marks to facetted subplots in the horizontal direction.
string
facet_col_wrap
int: Maximum number of facet columns.
int
facet_row_spacing
float: Spacing between facet rows, in paper units. Default is 0.03 or 0.0.7 when facet_col_wrap is used.
float
facet_col_spacing
float: Spacing between facet columns, in paper units. Default is 0.03 or 0.0.7 when facet_col_wrap is used.
float
hover_data
list str: Values from these columns appear in the hover tooltip.
list
hover_name
Values from this column appear in bold in the hover tooltip.
string
orientation
Orientation of the box plot ('v' for vertical, 'h' for horizontal)
string
v
h
v
custom_data
str: Values from this column are displayed on the graph
string
violinmode
violin mode ('group' or 'overlay')
string
group
overlay
group
points
shows outliers
string
outliers
suspectoutliers
all
false
outliers
box
if True, boxes are drawn with notches
bool