| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Looks good modulo adding the test
Sorry, something went wrong.
| ax.legend(numpoints=0.5) | ||
|
|
||
|
|
||
| @image_comparison(baseline_images=['empty_bar_legend'], extensions=['svg']) |
There was a problem hiding this comment.
OK, this is failing because your the baseline image is a different size. But...
Sorry, something went wrong.
There was a problem hiding this comment.
I would say just get rid of the image comparison and the test image, I think it's good enough to just check the code runs without any errors.
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you for your comments. I will keep that in mind. In the future, how would I do image comparisons? I created the image using save_fig and it seems to output in a different dimension.
Sorry, something went wrong.
There was a problem hiding this comment.
I usually run the tests locally (make sure that in setup.cfg you have compiled so that freetype is local) and then copy the resulting image into the baseline images...
Sorry, something went wrong.
There was a problem hiding this comment.
Whoever merges please squash-merge
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Resolves #13003. Allows an empty bar chart to be created with a legend.
PR Checklist