Closed jlbosse closed 2 weeks ago
This is currently expected as after creation with a string, the text object input parameters are String and everything new is converted to that afterwards. We currently can't change the input types of a plot object completely after creation.
Okay, I was afraid that something along those lines would be the answer. Feel free to close this then, or if you plan to change this in the future leave it open.
It should be possible to do this, so I think we'll try to make it work ;)
Fixed
First of all, thank you very much for adding LaTeX support in the latest version, it was one of the very few things still keeping me with PyPlot.
It seems, it is not possible to set the axis labels to LaTeXStrings after creating them (and I suspect the same goes for the title). See the following example:
which produces a nice plot of the cosine with labels "$\theta$" and "$\cos(\theta)$".