Skip to content

Commit

Permalink
Add labels to axes
Browse files Browse the repository at this point in the history
  • Loading branch information
pya committed Apr 6, 2024
1 parent 12176cc commit 44f5d5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pymf6/modeling_tools/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def add_bc(name, handles=handles, pmv=pmv):
plot = add_bc(bc_name)
if show_grid:
pmv.plot_grid()
plot.axes.set_xlabel('x (m)')
plot.axes.set_ylabel('y (m)')
plot.axes.set_title(title)
plot.axes.legend(handles=handles, loc=(1.2, 0))
return plot
Expand Down

0 comments on commit 44f5d5b

Please sign in to comment.