فهرست منبع

[fix] loading of figure style

Jan Grewe 1 سال پیش
والد
کامیت
91272dc64a
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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
 import matplotlib.pyplot as plt
 
 
 from ..util import DelayType
 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
 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
 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"):
 def plot_info_errorbar(axis, pop_size, info, label="", ls="-", color="tab:blue"):
     info_mean = np.mean(info, axis=1)
     info_mean = np.mean(info, axis=1)