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

Function test_psd_csd_edge_cases

lib/matplotlib/tests/test_axes.py:6170–6177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6168
6169
6170def test_psd_csd_edge_cases():
6171 # Inverted yaxis or fully zero inputs used to throw exceptions.
6172 axs = plt.figure().subplots(2)
6173 for ax in axs:
6174 ax.yaxis.set(inverted=True)
6175 with np.errstate(divide="ignore"):
6176 axs[0].psd(np.zeros(5))
6177 axs[1].csd(np.zeros(5), np.zeros(5))
6178
6179
6180@check_figures_equal()

Callers

nothing calls this directly

Calls 5

figureMethod · 0.80
psdMethod · 0.80
csdMethod · 0.80
subplotsMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…