HNHacker News
TopNewBestAskShowJobs

mgriley

14 karma · joined August 29, 2017

submissionscomments
mgriley··on Show HN: Diva – Python package for creating interactive dashboards
For matplotlib, you can pass the the figsize=(w, h) argument to the plt.figure and plt.subplots functions to set the size in inches. I've just added an example to the "More Examples" section of the User's Guide. I'm looking into having the plots adapt to the div size in the future.