Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code and tests to same as xtgeo.plot #29

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

mferrera
Copy link
Collaborator

@mferrera mferrera commented Dec 5, 2023

Resolves #25

@mferrera mferrera self-assigned this Dec 5, 2023
@@ -36,6 +36,7 @@ def __init__(self):
self._tight = False
self._showok = True
self._fig = None
self._allfigs = []
Copy link

@janbjorge janbjorge Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have a weak-feeling that this should maybe be a weakref. My thinking being, if you have a few figures open and close one of them. The closing figures memory should be cleared then and not hang around until all a closed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so sure about this either. Hopefully we can come back to this code at some point. But for now, it's just copying the current state of xtgeo.plot to here.

I made an issue for it: #30

@mferrera mferrera merged commit 755206c into equinor:main Dec 7, 2023
@mferrera mferrera deleted the code-parity branch December 7, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure code here has parity with xtgeo.plot
2 participants