I'm running into problems on my machine with using non-pyplot graphs because neither get_renderer() nor renderer is available. I've written a small update based on the matplotlib functions in backend_bases.py (also based on this question) which should support most backends and matplotlib versions. Hope it's useful!
Nice, thank you! I hope this can fix the problems some people are indeed having with this... I don't know why it's so complicated in matplotlib, they should standardize the backends I guess!
Hi there, nice code!
I'm running into problems on my machine with using non-pyplot graphs because neither
get_renderer()
norrenderer
is available. I've written a small update based on the matplotlib functions in backend_bases.py (also based on this question) which should support most backends and matplotlib versions. Hope it's useful!