Line Plotly
line plot from plotly
Plotly linear plot plotly.express.line()
please check : [https://plotly.com/python-api-reference/generated/plotly.express.line.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
line_group
group rows by line
string
markers
if ticked, markers are shown on line
bool
line_shape
string
linear
spline
symbol
str: Values from this column are used to assign symbols to marks.
string
render_mode
Controls the browser API used to draw marks.
string
svg
webgl
auto
error_x
str: Values from this column are used to size x-axis error bars
string
error_x_minus
str: Values from this column or array_like are used to size x-axis error bars in the negative direction.
string
error_y
str: Values from this column are used to size y-axis error bars
string
error_y_minus
str: Values from this column or array_like are used to size x-axis error bars in the negative direction.
string
text
str: Values from this column or array_like appear in the figure as text labels.
string