Skip to content

bug: plot_ibound method not working, grid is not shown #2592

Closed

Description

@aestrad-intera

mv = flopy.plot.PlotMapView(model=gwf, layer=0, ax=ax)
mv.plot_ibound(alpha=0.8)

this does not plot ibound, grid is not shown on plot

Activity

  1. jlarsen-usgs commented on Sep 5, 2025

    @jlarsen-usgs
    Contributor

    @aestrad-intera

    Do you have any more information? The plot_ibound method has not been changed/updated in a long time and has been fairly reliable. A minimal example would help in determining what the issue you are having is.

  2. jlarsen-usgs commented on Sep 5, 2025

    @jlarsen-usgs
    Contributor

    Also to plot the grid, call:

    mv.plot_grid()
  3. aestrad-intera commented on Sep 6, 2025

    @aestrad-intera
    Author
  4. wpbonelli commented on Sep 24, 2025

    @wpbonelli
    Member

    @aestrad-intera could you provide the model you are using with this plotting code, or a simple one reproducing the issue?

  5. jlarsen-usgs commented on Sep 24, 2025

    @jlarsen-usgs
    Contributor

    @aestrad-intera plot_ibound() masks out the active cells and plots inactive cells as black and vertical pass through cells as red. The reason you're not seeing anything when you use plot_ibound(), is that all cells in your model are active which means that by the default behavior they are masked (which is the behavior that we expect).

  6. locked and limited conversation to collaborators on Sep 24, 2025
  7. converted this issue into a discussion #2608 on Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions