Rick Teachey
Rick Teachey
Just an update, it looks like the code below works, and it is very simple. However, the `math_to_image` function does not allow for a transparent background... `matplotlib` has that implemented...
I suppose it might be more simple to just request that `matplotlib` adds some more control to the `latex_to_png` function rather than the `math_to_image` function... I guess that would a...
> We use `latex_to_png()` in here: https://github.com/sympy/sympy/blob/master/sympy/interactive/printing.py#L113, maybe that is helpful. The scale may bump the DPI, not sure though. YES! You're right: scale does bump the DPI. So that...
Ugh sorry for all the replies, there are several different functions here and I am not keeping them all straight. The `latex_to_png` function DOES make the background transparent. So this...
> Making the matplotlib renderer usable from `preview` does sound like it would be useful. > > Also, I wonder if we should remove the dependence on IPython to do...
After discussing all of this I've been wondering if a new latex rendering project under the scipy banner might be justified. But that's probably a much bigger decision haha.