azogue / psychrochart

A Python 3 library to make psychrometric charts and overlay information on them.
MIT License
99 stars 26 forks source link

✨ Chart config auto-refresh + bugfixes #32

Closed azogue closed 1 year ago

azogue commented 1 year ago

Before, chart customize was done by creating a new Psychrochart object based on some modified chart configuration, so creating custom plots, or even changing chart limits, was challenging πŸ˜“

Now, when chart.config changes, any call to chart.save(), chart.make_svg(), or chart.plot() will regenerate the chart data (limits, enabled curves, styling, etc.) before plotting, with only the visible curves inside limits, (no more 0-size artifacts in SVGs, and most errors because some var is out of range should be gone now 🀞)

Changes