From 358aa517b2746dca4209b90e927c30dd95fda1bb Mon Sep 17 00:00:00 2001 From: patnr Date: Tue, 3 Oct 2023 17:36:09 +0200 Subject: [PATCH] Lint --- TPFA_ResSim/plotting.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TPFA_ResSim/plotting.py b/TPFA_ResSim/plotting.py index 6ddd945..ca6289d 100644 --- a/TPFA_ResSim/plotting.py +++ b/TPFA_ResSim/plotting.py @@ -206,7 +206,8 @@ def well_scatter(self, ax, ww, inj=True, text=None, color=None, size=1): return sh - def plt_production(self, ax, production, obs=None, legend_outside=True, finalize=True): + def plt_production(self, ax, production, obs=None, + legend_outside=True, finalize=True): """Production time series. Multiple wells in 1 axes => not ensemble compat.""" hh = [] tt = 1+np.arange(len(production)) @@ -238,7 +239,8 @@ def plt_production(self, ax, production, obs=None, legend_outside=True, finalize return hh # Note: See note in mpl_setup.py about properly displaying the animation. - def anim(self, wsats, prod, title="", figsize=(10, 3.5), pause=200, animate=True, **kwargs): + def anim(self, wsats, prod, title="", figsize=(10, 3.5), pause=200, animate=True, + **kwargs): """Animate the saturation and production time series.""" # Create figure and axes @@ -288,4 +290,3 @@ def tight_show(figure, enabled): if enabled: figure.tight_layout() plt.show() -