-
Notifications
You must be signed in to change notification settings - Fork 0
pyssage.graph.LineStyle
pyssage » pyssage.graph » pyssage.graph.LineStyle
A basic container with common parameters used to control the visual look of lines plotted on a figure. The defaults listed below are for a generic instance of the class; a particular drawing algorithm may use different default values if no LineStyle is specified by the user.
Style specifiers are those accepted and used by matplotlib.
Colors can be specified in a wide variety of ways, including strings representing common color names (e.g., 'red', 'blue', or 'black'), strings representing hexadecimal numbers specifying particular colors (e.g., '#000000', '#FFB300', or '#12A0FC'), or tuplets of three values between 0 and 1 representing proportions of red, green, and blue, respectively. See Specifying Colors (@matplotlib) for more information.
For the linestyle property, this value will generally be a string such as 'solid', 'dotted', or 'dashed'. See Linestyles gallery (@matplotlib) for examples and options.
| Property | Description |
|---|---|
| color | color: Specifies the color of the line (default = "#1f77b4") |
| linestyle | str: Specifies the style of the line to be drawn (default = "solid") |
| linewidth | float: Specifies the width/thickness of the line to be drawn (default = 1) |
| alpha | float: A value between 0 and 1, specifying the opacity of the line, with 0 equal to transparent and 1 equal to opaque (default = 1) |