azogue / psychrochart

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

README Usage example nonfunctional #62

Closed Preposthumous closed 6 months ago

Preposthumous commented 6 months ago

Hi! This is just an issue with the documentation in the main README: The example provided under "Usage" isn't currently functional. Specifically, it includes

chart_default.limits.range_temp_c = (15.0, 35.0)
chart_default.limits.range_humidity_g_kg = (5, 25)

but it appears that the current version of psychrochart doesn't provide a "limits" attribute for a chart object, directly. As far as I can tell, it should read:

chart_default.config.limits.range_temp_c = (15.0, 35.0)
chart_default.config.limits.range_humidity_g_kg = (5, 25)

Thank you for your time and attention!

azogue commented 6 months ago

Thanks for reporting @Preposthumous 👍, fix already included in main branch (from #61)