Skip to content
Snippets Groups Projects
Commit fa63c8cf authored by Andi Gerken's avatar Andi Gerken
Browse files

Added verbose to file.plot

parent faa99ac9
Branches
No related tags found
No related merge requests found
Pipeline #47638 passed
...@@ -688,6 +688,7 @@ class File(h5py.File): ...@@ -688,6 +688,7 @@ class File(h5py.File):
skip_timesteps=0, skip_timesteps=0,
max_timesteps=None, max_timesteps=None,
show=False, show=False,
legend=True,
): ):
"""Plot the file using matplotlib.pyplot """Plot the file using matplotlib.pyplot
...@@ -783,6 +784,7 @@ class File(h5py.File): ...@@ -783,6 +784,7 @@ class File(h5py.File):
label="End", label="End",
zorder=5, zorder=5,
) )
if legend:
ax.legend(loc="lower right") ax.legend(loc="lower right")
ax.set_xlabel("x [cm]") ax.set_xlabel("x [cm]")
ax.set_ylabel("y [cm]") ax.set_ylabel("y [cm]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment