First time here? Check out the FAQ!
answered 3 years ago
You can do this to achieve what you want:
p.axes_labels([ '$x$', '$'+latex(g())+'$' ])