mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-01 23:12:21 +00:00
17 lines
358 B
Python
17 lines
358 B
Python
from matplotlib.axes import Axes
|
|
|
|
|
|
def make_white(ax: Axes) -> None:
|
|
"""Make the labels and ticks white
|
|
|
|
Parameters
|
|
----------
|
|
ax: Axes
|
|
The axes to make white
|
|
|
|
"""
|
|
ax.xaxis.label.set_color("white")
|
|
ax.tick_params(axis="x", colors="white")
|
|
ax.yaxis.label.set_color("white")
|
|
ax.tick_params(axis="y", colors="white")
|