Skip to content

Conversation

@teutoburg
Copy link
Contributor

I never saw plots anymore (after some update to Jupyter months ago) unless I explicitly added plt.show() everywhere. Finally figured out that removing the %matplotlib inline solves that. Now I don't know if this breaks it for anyone else?

Also added the new sim.link_irdb(), let's see if that also works on RTD.

@teutoburg teutoburg added the documentation Improvements or additions to documentation label Apr 28, 2025
I never saw plots anymore (after some update to Jupyter months ago) unless
I explicitly added `plt.show()` everywhere. Finally figured out that
_removing_ the `%matplotlib inline` solves that. Now I don't know if this
breaks it for anyone else?

Also added the new `sim.link_irdb()`, let's see if that also works on RTD.
@teutoburg teutoburg marked this pull request as ready for review April 28, 2025 14:45
@teutoburg teutoburg requested a review from oczoske April 28, 2025 14:45
Copy link
Collaborator

@oczoske oczoske left a comment

Choose a reason for hiding this comment

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

Works for me.

"plt.colorbar();\n",
"fig, ax = plt.subplots()\n",
"img = ax.imshow(hdul[1].data, vmin=92000, vmax=92600)\n",
"fig.colorbar(img)\n",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Warum einfach, wenn's auch kompliziert geht? :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Weil das plt.show() (ohne dem inline offenbar eh überflüssig und damit auch das jetzt nicht mehr unbedingt notwendig) am Schluss dann alle plt. Sachen übereinander geplottet hat 🙃

@teutoburg teutoburg merged commit 6c83a52 into dev_master Apr 28, 2025
8 checks passed
@teutoburg teutoburg deleted the fh/clean-wcu-nb branch April 28, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants