From b4d4db0e7de4af0fed20d80b03eb624932d4a582 Mon Sep 17 00:00:00 2001 From: sametz Date: Fri, 8 Dec 2023 17:15:40 -0500 Subject: [PATCH] removed matplotlib < 3.3 stick plot error supression --- src/nmrsim/plt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmrsim/plt.py b/src/nmrsim/plt.py index db02c10..d8c7c9c 100644 --- a/src/nmrsim/plt.py +++ b/src/nmrsim/plt.py @@ -117,7 +117,7 @@ def mplplot_stick(peaklist, y_min=-0.01, y_max=1, limits=None, hidden=False): y = np.append(y, [0.001, 0.001]) plt.xlim(r_limit, l_limit) plt.ylim(y_min, y_max) - ax.stem(x, y, markerfmt=" ", basefmt="C0-", use_line_collection=True) # suppress warning until mpl 3.3 + ax.stem(x, y, markerfmt=" ", basefmt="C0-") if not hidden: plt.show() return x, y