Good job so far. Can you get all your work to a mergeable state so that I can merge your PR into master by the time you go on leave to get your visa? That way we will have a good way to gauge progress w.r.t the rest of the library when I work on the GR part and help us sync our work better.
I’ll start reviewing your already open PR so that you can make changes accordingly. Also, I need to see your blog ASAP. Its been delayed already.
Here’s replies to the problems you pointed out:
Area plot bug: The data should not be sorted
Works. Shouldn’t have sorted it in the first place.
Although I corrected the bug, the delta for the area plot test is around 4500
I suspect its because of the opacity that the comparison between the pixels goes wrong. Might there be a way around it?
GR backend does not implement opacity
I’ve opened an issue on this and will tackle the issue soon. https://github.com/SciRuby/rubyplot/issues/50
I’ve pushed a change: https://github.com/SciRuby/rubyplot/commit/31bbb0487ef15f2c88d33bbb3b73cc724f10a643
This happens in GR or Magick?
The require statement loads the file that contains the
Base class which
Axes inherits from.
Will fix. Thanks.
Hmmm works. That would be a good addition. Can you open an issue for this so that I can implement in the GR backend as well?
I’m sure whether it can done. Maybe can try plotting the axes after plotting the elements within the plot. Anyway the need for this will be mitigated if we take 5% extra distance on each of the axes.