Skip to content

Commit

Permalink
update(_plot_package_helper): pass kwargs to datatype helpers (#2081)
Browse files Browse the repository at this point in the history
* update(_plot_package_helper): pass kwargs to datatype helpers

* change model_grid kwarg to modelgrid in _plot_model_helper

* linting
  • Loading branch information
jlarsen-usgs authored Feb 2, 2024
1 parent da8a3bd commit cff4f23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flopy/plot/plotutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _plot_model_helper(model, SelPackList, **kwargs):
mflay=defaults["mflay"],
key=defaults["key"],
model_name=defaults["model_name"],
model_grid=model.modelgrid,
modelgrid=model.modelgrid,
)
# unroll nested lists of axes into a single list of axes
if isinstance(caxs, list):
Expand Down Expand Up @@ -341,6 +341,7 @@ def _plot_package_helper(package, **kwargs):
model_name=model_name,
colorbar=True,
modelgrid=defaults["modelgrid"],
**kwargs,
)
)

Expand Down Expand Up @@ -433,6 +434,7 @@ def _plot_package_helper(package, **kwargs):
model_name=model_name,
colorbar=True,
modelgrid=defaults["modelgrid"],
**kwargs,
)
)

Expand Down Expand Up @@ -464,6 +466,7 @@ def _plot_package_helper(package, **kwargs):
model_name=model_name,
colorbar=True,
modelgrid=defaults["modelgrid"],
**kwargs,
)
)

Expand Down Expand Up @@ -494,6 +497,7 @@ def _plot_package_helper(package, **kwargs):
fignum=fignum,
colorbar=True,
modelgrid=defaults["modelgrid"],
**kwargs,
)
)

Expand Down

0 comments on commit cff4f23

Please sign in to comment.