I have a specified 'matplotlibrc' file with the same settings of plt.show() and plt.savefig(). But when I C-c C-c on the code block, the resulting image has a very low resolution that different from I directly run the python code outside the org file. How can I solve this, namely make the output image inside org mode the same as plt.same() and plt.savefig()? Thanks !
Hi,
I have a specified 'matplotlibrc' file with the same settings of
plt.show()
andplt.savefig()
. But when I C-c C-c on the code block, the resulting image has a very low resolution that different from I directly run the python code outside the org file. How can I solve this, namely make the output image inside org mode the same asplt.same()
andplt.savefig()
? Thanks !Updated: I put
in the org code block, which gives
~/.matplotlib/matplotlibrc'
I think
matplotlib
is using the same config as which I run the python outside a org file.