diff --git a/ansys/dpf/core/plotter.py b/ansys/dpf/core/plotter.py index b233b225dae..521bf4ccf80 100755 --- a/ansys/dpf/core/plotter.py +++ b/ansys/dpf/core/plotter.py @@ -499,7 +499,9 @@ def plot_chart(self, fields_container): substr = fields_container[0].name.split("_") pyplot.ylabel(substr[0] + fieldMin.unit) pyplot.title(substr[0] + ": min/max values over time") - return pyplot.legend() + pyplot.legend() + pyplot.show() + return pyplot.gcf() def plot_contour( self,