Skip to content

2d section auto closes #977

@oliveSea

Description

@oliveSea

Hi all,
I am having an issue with plotting 2d sections.

Describe the bug
plot_2d does not generate plots as expected.

To Reproduce

  1. Run example https://docs.gempy.org/tutorials/ch1_fundamentals/ch1_3b_cross_sections.html#sphx-glr-tutorials-ch1-fundamentals-ch1-3b-cross-sections-py
  2. plot_2d generates matplotlib figures that hang for a few seconds and then auto-closes. No exception is raised.

Expected behavior
Images plotted as shown in example above.

Desktop (please complete the following information):

  • OS: Win11
  • GemPy Version: 2024.2.0.2

Additional context

  • Installation:
    • conda install numpy matplotlib pandas scipy scikit-learn scikit-image gdal pyvista
    • pip install gempy gempy-viewer
  • pyvista's gpv.plot_3d works fine, simple 2d matplotlib plot works fine as well.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions