Open schornb opened 2 years ago
Also, when I do get the image, it doesn't use the red color in the docs (https://github.com/brownplt/pyret-docs/pull/64/files), I get:
Have you seen any inconsistencies in how the images render in different browsers, etc?
Thanks for cleaning up this PR! It made it much easier to understand what was going on for me, I really appreciate it.
When I run this example:
I get an apparent “infinite loop”, though what's really happening is one of two errors inside the chart library, either:
Or:
Relatedly, when I run the example using
.display()
(as in the docs https://github.com/brownplt/pyret-docs/pull/64/files), when I close the window, it pops back up; I have to close it again, then the image renders in the REPL. This is unlike the other chart types.@blerner and I think there may be some kind of race condition between rendering the chart and getting its image data.
Have you run into this as well/any ideas? @sorawee any insights from your experience?