Skip to content

Commit 4812532

Browse files
authored
Fix cropped x-axis label in plots (#200)
Closes #190.
1 parent 0890f38 commit 4812532

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/petab_gui/views/simple_plot_view.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ def _update_tabs(self, fig: plt.Figure):
233233
sub_ax.set_xlabel(ax.get_xlabel())
234234
sub_ax.set_ylabel(ax.get_ylabel())
235235
sub_ax.legend()
236+
sub_fig.tight_layout()
236237

237238
sub_canvas = create_plot_tab(
238239
sub_fig,

0 commit comments

Comments
 (0)