소스 검색

[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
 
 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)