Vindaar / ggplotnim

A port of ggplot2 for Nim
https://vindaar.github.io/ggplotnim
MIT License
176 stars 15 forks source link

Error bar plot w/o one *Min/Max value draws to 0 #122

Closed Vindaar closed 3 years ago

Vindaar commented 3 years ago

Currently an error bar plot or line range plot draws a line to 0 along the axis, if one of the ranges is not given. In that case though the correct behavior would be to not draw anything along that direction.

For an example see the plots in:

https://scinim.github.io/getting-started/data_viz/plotting_data.html

(plots 9 - 11).