C2SM / pyvis

GNU General Public License v3.0
26 stars 12 forks source link

use layout='constrained' #108

Closed mathause closed 1 year ago

mathause commented 1 year ago

This replaces mentions of tight layout with constrained layout. It also uses plt.subplots(layout="constrained") which seems to be the preferred way (https://matplotlib.org/stable/tutorials/intermediate/constrainedlayout_guide.html)

I feel like we should do an entire exercise on constrained layout but I don't have time for this right now.

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB