Traktor/myenv/Lib/site-packages/matplotlib/tests/test_axis.py
2024-05-23 01:57:24 +02:00

11 lines
268 B
Python

import numpy as np
import matplotlib.pyplot as plt
from matplotlib.axis import XTick
def test_tick_labelcolor_array():
# Smoke test that we can instantiate a Tick with labelcolor as array.
ax = plt.axes()
XTick(ax, 0, labelcolor=np.array([1, 0, 0, 1]))