Hi,
I’d like to adjust the font size in OGSTools (0.6.0) globally.
E.g. I have the following (incomplete) code:
import ogstools as ot
ot.plot.plot_setup_defaults.fontsize = 6 # does not seem to work
...
var_conc = ot.variables.Variable("concentration")
# adding fontsize=... here would work, but it's not a global setting
fig = bulk_mesh_result.plot_contourf(var_conc)
# just for the sake of completeness of the plot below...
ax = fig.gca()
quiv = ax.quiver(bulk_mesh_result.points[:,0], bulk_mesh_result.points[:,1],
bulk_mesh_result.point_data["v"][:,0], bulk_mesh_result.point_data["v"][:,1],
pivot="mid")
# I want a smaller plot
fig.set_size_inches(8,6)
The resulting plot looks suboptimal:
What am I doing wrong?
Thank you in advance.
Best regards,
Christoph