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

Fixed matplotlib issues in asymmetric well. #327

Merged
merged 1 commit into from
May 4, 2024

Conversation

Taylor-96
Copy link
Contributor

@Taylor-96 Taylor-96 commented Apr 28, 2024

Fixed issue with lines.clear() as in quantum well notebooks. Also fixed problem with popping last artist in axis object. Workaround was to use the following approach in order to remove last 3 mu points.

 for artist in (ax3.collections+ax3.lines):
        if isinstance(artist, plt.Line2D) and len(artist.get_xdata()) == 1:
            artist.remove()

Copy link

Binder 👈 Launch a Binder on branch osscar-org/quantum-mechanics/asymmetric_well_review

@Taylor-96 Taylor-96 merged commit f91fc72 into anywidgets-and-update-deps May 4, 2024
1 of 3 checks passed
@Taylor-96 Taylor-96 deleted the asymmetric_well_review branch May 4, 2024 17:13
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.

2 participants