mkrphys / ipython-tikzmagic

IPython magics for generating figures with TikZ
BSD 3-Clause "New" or "Revised" License
159 stars 43 forks source link

Too low image size #27

Open parthi2929 opened 6 years ago

parthi2929 commented 6 years ago

Hi

When I try to use tikzmagic on ipython the image appears fine. 400x152 pixels, with about 4x1.3 cm size. Regular matplotlib images are outputting similar resolution at about 12 cm wide size. However, both look similar in ipython, but this creates problem when I export to latex. In latex, the size translates to your tikz output image to be too small (though resolution good enough), compared to other images. I have detailed the issue here. Can you please let me know if there is any way I could also specify output image's size in cm or inches?

parthi2929 commented 6 years ago

Here is how it should appear and here is how it should not appear but current result of generated image. Even with about 300 ppi, the size in cm was so low for that normal distribution image.