I've discovered that the tight_bbox option for matplotlib is being ignored. What seems to be happening is that in Matplotlib.hs the attribute being read is named just tight, while the attribute being parsed in Renderer.hs (and the one documented) is tight_bbox.
This can be reproduced by rendering a matplotlib figure with and without tight_bbox=true in the figure attributes; inspecting the generated code shows no difference in the plt.savefig call.
Thanks for all your work on this great pandoc filter!
Hi again,
I've discovered that the
tight_bbox
option for matplotlib is being ignored. What seems to be happening is that inMatplotlib.hs
the attribute being read is named justtight
, while the attribute being parsed inRenderer.hs
(and the one documented) istight_bbox
.This can be reproduced by rendering a matplotlib figure with and without
tight_bbox=true
in the figure attributes; inspecting the generated code shows no difference in theplt.savefig
call.Thanks for all your work on this great pandoc filter!