Skip to content

Commit

Permalink
Remove whitespace in text
Browse files Browse the repository at this point in the history
  • Loading branch information
pya committed Aug 8, 2023
1 parent ddb5328 commit 66e4173
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pymf6/modeling_tools/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import flopy
from flopy.utils.postprocessing import get_specific_discharge

from .make_model import get_simulation
from pymf6.modeling_tools. make_model import get_simulation


def show_heads(
Expand Down Expand Up @@ -136,6 +136,7 @@ def show_well_head(
"""Plot head at well over time."""
sim = get_simulation(model_data['model_path'], model_data['name'])
gwf = sim.get_model(model_data['name'])
print(gwf.output)
heads = gwf.output.head().get_ts(wel_coords)
_, ax = plt.subplots()
ax.plot(heads[:, 0], heads[:, 1], label='Well water level')
Expand All @@ -158,7 +159,7 @@ def show_well_head(
text = 'Target water level'
if (lower_head_limit is not None) and (upper_head_limit is not None):
limit_range = True
text += 'range'
text += ' range'
y1 = [lower_head_limit] * 2
y2 =[upper_head_limit] * 2
elif lower_head_limit is not None:
Expand Down

0 comments on commit 66e4173

Please sign in to comment.