Closed jdebacker closed 4 years ago
Talking with @Peter-Metz, it sounds like this test is of a function not yet a part TaxBrain master branch. @andersonfrailey Shall we remove this test or should we merge in the additional functionality?
The functionality is there (report.py
), I think the images just aren't being exported by Bokeh. Are you using Bokeh 2.0+? It's possible that something changed with the new version we need to make a fix for. Also do you have selenium installed?
Looks like an issue with the SVG export -- the PNG's work just fine. I think we might need a line like:
plot.output_backend = "svg"
(Bokeh documentation), but the test still isn't passing locally. I can take another look tomorrow.
@andersonfrailey I'm using Bokeh 2.1.0 and Selenium 3.141.0.
Gotcha. I just got the same error. I think @Peter-Metz might be right about what's going on. I'll look into it as well.
Looks like @Peter-Metz was right. Once I added plot.output_backend="svg"
everything passed. But, when I looked at the report generated all of the axis labels were missing. I think that cairo
has trouble with SVG
files. I think the best solution for now is to only use PNG
files until we can get that figured out. I'll open up a PR to do that later today.
Here's what the missing labels in the report look like.
I think the best solution for now is to only use PNG files until we can get that figured out.
+1
Resolved with PR #123. Thanks for the report, @jdebacker! Closing.
After installing two additional dependencies to the
taxbrain-dev
environment (noted in Issue #121), I ran into the following error in the unit tests:I have been unable to find where
difference_graph.svg
ordist_graph.svg
would be created. @Peter-Metz, can you point me to the right place to look?