Closed AleksLitynski closed 3 years ago
Hi there, thanks for using plotters!
That's a good catch! In fact, disable_y_axis
has some effect. The first plot doesn't have y axis drawn, however, the value label is still there. This is definitely not expected result.
I got the fix on master branch (fb154e6) and will make it available in next minor release.
Feel free to try the master branch and if you feel anything is not correct, please reopen the issue.
Thanks again for the help, cheers!
The function https://docs.rs/plotters/0.3.0/plotters/chart/struct.MeshStyle.html#method.disable_y_axis doesn't seem to do anything.
This is the code I'm testing with:
When I call .disable_y_axis, this is the output:
When I comment out .disable_y_axis, this is the output: