Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
patnr committed Oct 3, 2023
1 parent 57c028b commit 358aa51
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions TPFA_ResSim/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -288,4 +290,3 @@ def tight_show(figure, enabled):
if enabled:
figure.tight_layout()
plt.show()

0 comments on commit 358aa51

Please sign in to comment.