MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_plot_bytes

Method test_plot_bytes

lib/matplotlib/tests/test_category.py:180–184  ·  view source on GitHub ↗
(self, plotter, bdata)

Source from the content-addressed store, hash-verified

178 @pytest.mark.parametrize("plotter", PLOT_LIST, ids=PLOT_IDS)
179 @pytest.mark.parametrize("bdata", bytes_data, ids=bytes_ids)
180 def test_plot_bytes(self, plotter, bdata):
181 ax = plt.figure().subplots()
182 counts = np.array([4, 6, 5])
183 plotter(ax, bdata, counts)
184 axis_test(ax.xaxis, bdata)
185
186
187class TestPlotNumlike:

Callers

nothing calls this directly

Calls 3

axis_testFunction · 0.85
figureMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected