Skip to content

✨ More kinds of chart zones + CSS for SVG styling

Compare
Choose a tag to compare
@azogue azogue released this 12 Jun 15:36
· 76 commits to master since this release
78d66a3

Define new kinds of enclosed areas in chart, between constant RH lines and constant volume or enthalpy values (zone_kind: "volume-rh"/"enthalpy-rh"),
and enable full potencial for SVG customization by including CSS and/or <defs> inside it.

Changes

  • ✨ Add new kind of overlay zones 'enthalpy-rh' and 'volume-rh', to define chart areas delimited between 2 constant enthalpy or volume lines, and 2 constant humidity lines
  • 🎨 Add chart.remove_zones() method, like the existent .remove_legend() and .remove_annotations(), to clear matplotlib current Axes from each kind of annotated objects
  • 🐛 Fix artists registry not mirroring objects in plot, by setting a new one each time chart.plot() is invoked
  • ♻️ Set gid for 'chart_legend_background' item if frameon is enabled
  • ✨ Pass optional CSS and SVG to chart.make_svg(), to include extra-styling inside the produced SVG 🌈
  • ✨ Add method chart.plot_over_saturated_zone() to create a filled patch in the over-saturated zone of the psychrochart, to colorize that area
  • 🦄 tests: Add dynamic effects and CSS rules to splash chart for a show of SVG styling capabilities