Skip to content

Commit 1904e91

Browse files
committed
latex fixes, again
1 parent 412bec9 commit 1904e91

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pySDC/projects/node_failure/postproc_boussinesq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def create_plots(cwd=''):
140140
ax.set_yticklabels(np.arange(1, maxiter, 2) + 1, minor=False)
141141
ax.set_xticklabels(np.arange(minstep, maxstep, xtick_dist), minor=False)
142142

143-
plt.title(strategy)
143+
plt.title(strategy.replace('_', '-'))
144144

145145
# plt.tight_layout()
146146

pySDC/projects/node_failure/postproc_grayscott.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def create_plots(cwd=''):
138138
ax.set_yticklabels(np.arange(1, maxiter, 2) + 1, minor=False)
139139
ax.set_xticklabels(np.arange(minstep, maxstep, xtick_dist), minor=False)
140140

141-
plt.title(strategy)
141+
plt.title(strategy.replace('_', '-'))
142142
# plt.tight_layout()
143143

144144
fname = 'data/GRAYSCOTT_steps_vs_iteration_hf_' + strategy + '.png'

pySDC/projects/node_failure/postproc_hard_faults_detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def create_plots(setup, cwd=''):
8989
if strategy is not 'NOFAULT':
9090
plt.text(step - 1 + 0.5, iter + 0.5, 'x', horizontalalignment='center', verticalalignment='center')
9191

92-
plt.title(strategy, **axis_font)
92+
plt.title(strategy.replace('_', '-'), **axis_font)
9393

9494
fname = 'data/' + setup + '_steps_vs_iteration_hf_' + str(step) + 'x' + str(iter) + '_' + strategy + '.png'
9595
plt.savefig(fname, bbox_inches='tight', rasterize=True)

0 commit comments

Comments
 (0)