matplotlib save image as postscript, when xlabel is saved as text and not path

Hi Oren,

The link below leads to a recent related thread on this list. Maybe it will be informative. I believe it implies that the answer is No, you have to use TeX.



On Mon, Nov 3, 2014 at 11:40 AM, Paul Hobson <pmhobson@...287...> wrote:

    What happens when you save as a postscript file with matplotlib.rcParams["text.usetex"] = False?
    On Mon, Nov 3, 2014 at 7:11 AM, Oren <oren.a4@...287...> wrote:

        Anyone know how to solve this thing?
        On 2 November 2014 03:40, oren <oren.a4@...287...> wrote:

            How can I save a matplotlib figure with text as a postscript image and that
            the text will be saved as text. Currently when I save the image as
            postscript all the text in the image ( xlabel, ylabel etc.. ) is saved as
            path and not as text.. Is it possible to save it as text?

            If I use the following code ( use latex)

            matplotlib.rcParams["text.usetex"] = True
            and save the image as postscript the text is saved as text.. But I do not
            want to use latex.. Is it possible without latex?


            Question also on stackoverflow