From f14f7019c8bcbf24e45d672e84019d6efd8aa90f Mon Sep 17 00:00:00 2001 From: manushree <70102697+manushree635@users.noreply.github.com> Date: Tue, 31 Aug 2021 12:16:36 +0530 Subject: [PATCH 1/3] Update contour.py --- lib/matplotlib/contour.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/contour.py b/lib/matplotlib/contour.py index 7dec80943993..9a6b01d5f4de 100644 --- a/lib/matplotlib/contour.py +++ b/lib/matplotlib/contour.py @@ -1124,7 +1124,7 @@ def _autolev(self, N): """ if self.locator is None: if self.logscale: - self.locator = ticker.LogLocator() + self.locator = ticker.LogLocator(numticks=N) else: self.locator = ticker.MaxNLocator(N + 1, min_n_ticks=1) From 940bd9f54a23537a963e6f7b4d2f3c5f7466c3ef Mon Sep 17 00:00:00 2001 From: manushree <70102697+manushree635@users.noreply.github.com> Date: Tue, 31 Aug 2021 12:18:06 +0530 Subject: [PATCH 2/3] Update contour.py --- lib/matplotlib/contour.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/contour.py b/lib/matplotlib/contour.py index 9a6b01d5f4de..4af86db17482 100644 --- a/lib/matplotlib/contour.py +++ b/lib/matplotlib/contour.py @@ -1124,7 +1124,7 @@ def _autolev(self, N): """ if self.locator is None: if self.logscale: - self.locator = ticker.LogLocator(numticks=N) + self.locator = ticker.LogLocator(numticksN) else: self.locator = ticker.MaxNLocator(N + 1, min_n_ticks=1) From 6b07912997e28e8418ad017a6e2ceb737ea58b23 Mon Sep 17 00:00:00 2001 From: manushree <70102697+manushree635@users.noreply.github.com> Date: Tue, 31 Aug 2021 12:19:07 +0530 Subject: [PATCH 3/3] Update contour.py --- lib/matplotlib/contour.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/contour.py b/lib/matplotlib/contour.py index 4af86db17482..9a6b01d5f4de 100644 --- a/lib/matplotlib/contour.py +++ b/lib/matplotlib/contour.py @@ -1124,7 +1124,7 @@ def _autolev(self, N): """ if self.locator is None: if self.logscale: - self.locator = ticker.LogLocator(numticksN) + self.locator = ticker.LogLocator(numticks=N) else: self.locator = ticker.MaxNLocator(N + 1, min_n_ticks=1)