Spines
GenericSpineBuilder
Source code in itfit/plot/spines.py
__init__(plot_builder, spine_builder)
Spine builder. Used to modify plot spines.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
plot_builder |
itfit.plot.spines.GenericSpineBuilder
|
GenericSpineBuilder instance. |
required |
Source code in itfit/plot/spines.py
alpha(alpha)
Sets spines alpha.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
alpha |
float
|
alpha value |
required |
Returns:
Type | Description |
---|---|
itfit.plot.spines.GenericSpineBuilder
|
Returns itself. |
color(color)
Sets the color of the spine.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
color |
str | tuple[float]
|
Color for the spine. |
required |
Returns:
Type | Description |
---|---|
itfit.plot.spines.GenericSpineBuilder
|
Returns itself. |
Source code in itfit/plot/spines.py
invisible()
Sets spine invisible.
Returns:
Type | Description |
---|---|
itfit.plot.spines.GenericSpineBuilder
|
Returns itself. |
linestyle(linestyle)
Changes spine linestyle.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
linestyle |
str
|
Spine linestyle. |
required |
Returns:
Type | Description |
---|---|
itfit.plot.spines.GenericSpineBuilder
|
Returns itself. |
Source code in itfit/plot/spines.py
linewidth(linewidth)
Changes spine linewidth.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
linewidth |
float
|
Spine linewidth. |
required |
Returns:
Type | Description |
---|---|
itfit.plot.spines.GenericSpineBuilder
|
Returns itself. |
Source code in itfit/plot/spines.py
visible()
SpineBuilder
Source code in itfit/plot/spines.py
__init__(plot_builder)
Spine builder. Used to modify plot spines.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
plot_builder |
itfit.plot.PlotBuilder
|
PlotBuilder instance. |
required |
end_spines()
start_bottom_spine()
Starts a bottom spine builder.
Returns:
Type | Description |
---|---|
itift.plot.spines.bottomSpineBuilder
|
bottom spine builder. |
start_left_spine()
Starts a left spine builder.
Returns:
Type | Description |
---|---|
itift.plot.spines.leftSpineBuilder
|
left spine builder. |
start_right_spine()
Starts a right spine builder.
Returns:
Type | Description |
---|---|
itift.plot.spines.rightSpineBuilder
|
right spine builder. |
start_top_spine()
Starts a top spine builder.
Returns:
Type | Description |
---|---|
itift.plot.spines.topSpineBuilder
|
top spine builder. |
bottomSpineBuilder
Bases: GenericSpineBuilder
Source code in itfit/plot/spines.py
end_bottom_spine()
Ends bottom spine builder.
Returns:
Type | Description |
---|---|
itfit.plot.PlotBuilder
|
Returns the PlotBuilder. |
leftSpineBuilder
Bases: GenericSpineBuilder
Source code in itfit/plot/spines.py
end_left_spine()
rightSpineBuilder
Bases: GenericSpineBuilder
Source code in itfit/plot/spines.py
end_right_spine()
topSpineBuilder
Bases: GenericSpineBuilder