AIM-PIbd-32-Kurbanova-A-A/aimenv/Lib/site-packages/matplotlib/tests/test_axis.py
2024-10-02 22:15:59 +04: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]))