From 1b90857fdc79a218151e172007728c9d521e4815 Mon Sep 17 00:00:00 2001 From: Vahid Ghayoomie Date: Sun, 22 Oct 2023 18:36:42 +0330 Subject: [PATCH 1/2] Fix issue with matplotlib 3.8.0 - close #70 --- Tutorial/Source/HodgkinHuxley.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tutorial/Source/HodgkinHuxley.py b/Tutorial/Source/HodgkinHuxley.py index 7bdc657..6dc0fc9 100644 --- a/Tutorial/Source/HodgkinHuxley.py +++ b/Tutorial/Source/HodgkinHuxley.py @@ -290,7 +290,7 @@ def Main(self, init_values=[-64.99584, 0.05296, 0.59590, 0.31773]): fig=plt.figure(figsize=(7, self.num_plots * 2)) fig.canvas.header_visible = False - plt.xlim([np.min(self.t),np.max(self.t)]) #for all subplots + # plt.xlim([np.min(self.t),np.max(self.t)]) #for all subplots if self.injected_current_plot: ax1 = plt.subplot(self.num_plots,1,self.plot_count + 1) diff --git a/requirements.txt b/requirements.txt index d4be606..5415354 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ scipy numpy -matplotlib==3.5.1 +matplotlib==3.8.0 ipywidgets ipympl From 9313f15bf117da24ea63bc2a66ba996428cb87d4 Mon Sep 17 00:00:00 2001 From: Vahid Ghayoomie Date: Sun, 22 Oct 2023 18:41:52 +0330 Subject: [PATCH 2/2] Use matplotlib latest version --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5415354..4d42669 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ scipy numpy -matplotlib==3.8.0 +matplotlib ipywidgets ipympl