Selaa lähdekoodia

[fix] loading of figure style

Jan Grewe 1 vuosi sitten
vanhempi
commit
91272dc64a
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      code/plots/delay_filtering.py
  2. 1 1
      code/plots/lif_results.py

+ 1 - 1
code/plots/delay_filtering.py

@@ -8,7 +8,7 @@ import matplotlib as mplt
 import matplotlib.pyplot as plt
 
 from ..util import DelayType
-plt.style.use("./code/plots/pnas_onecolumn.mplstyle")
+plt.style.use("code/plots/pnas_onecolumn.mplstyle")
 
 from .figure_style import subfig_labelsize, subfig_labelweight, despine
 

+ 1 - 1
code/plots/lif_results.py

@@ -7,7 +7,7 @@ import matplotlib.image as mpimg
 
 from .figure_style import subfig_labelsize, subfig_labelweight, despine
 
-plt.style.use("./code/plots/pnas_onecolumn.mplstyle")
+plt.style.use("code/plots/pnas_onecolumn.mplstyle")
 
 def plot_info_errorbar(axis, pop_size, info, label="", ls="-", color="tab:blue"):
     info_mean = np.mean(info, axis=1)