Skip to content

Commit eba88e3

Browse files
authored
Merge pull request #15602 from rmcdermo/master
Python: remove apply_global_exponent from special scripts
2 parents f7c4478 + e3399e3 commit eba88e3

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

Utilities/Python/scripts/impinging_jet.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@
104104
label = f'FDS {res}' if i == 0 else None
105105
fig = fdsplotlib.plot_to_fig(x_data=Re_j, y_data=Nu_fds, data_label=label, figure_handle=fig, marker_style=markers[res], marker_fill_color=(1,1,1,0.0))
106106

107-
# Convert exponential to scientific
108-
fdsplotlib.apply_global_exponent(fig.axes[0], axis='x', fontsize=plot_style['Label_Font_Size'])
109-
110107
# Save figure
111108
corr_pdf = os.path.join(pltdir, 'impinging_jet_correlation.pdf')
112109
fig.savefig(corr_pdf)

Utilities/Python/scripts/mass_balance.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ def plot_mass_balance(chid, title_text):
5959
legend = ax.get_legend()
6060
if legend:
6161
legend.legend_handles[1].set_color('orange') # Second legend entry (Outlet H2O)
62-
63-
fdsplotlib.apply_global_exponent(ax, axis='y')
62+
6463
ax.text(100, 18e-3, title_text,fontsize=plot_style['Title_Font_Size'],fontname=plot_style['Font_Name'])
6564

6665
# Compute mean error for t > 1000 s

Utilities/Python/scripts/mass_balance_gas_volume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def plot_mass_balance(chid, title_text):
5858
legend = ax.get_legend()
5959
if legend:
6060
legend.legend_handles[1].set_color('orange') # Second legend entry (out-in)
61-
fdsplotlib.apply_global_exponent(ax, axis='y')
61+
6262
if title_text:
6363
ax.text(100, 18e-3, title_text, fontsize=plot_style['Title_Font_Size'],
6464
fontname=plot_style['Font_Name'])

0 commit comments

Comments
 (0)