I want to plot a scatterplot, but set the x-label limits.
axScatter = plt.subplot(111)
axScatter.scatter(x=mean_var_r["Variance"],y=mean_var_r["Mean"])
xlim = [-0.003, 0.003]
plt.xlim(xlim)
plt.show()
For some reason, I get the error, that the list object is not callable. I am well aware, that the question was asked before here: list not callable for plot, but unfortunately, the solution does not work for me. Is there another way?
Thanks and happy coding