First time here? Check out the FAQ!
answered 2022-01-11 14:04:47 +0100
You can do this to achieve what you want:
p.axes_labels([ '$x$', '$'+latex(g())+'$' ])