I tried a simple plot via plt.plot and have trouble with plt.grid(True). Result is 'TypeError: bool object is not callable'. Same code works fine on MacOs.
plt.grid = True
__ EDIT: This is wrong. See the correct answer from OMZ below__.
It seems likely that you used
plt.grid = Truesomewhere, replacing the
gridmethod with a boolean value. The easiest would be to restart Pythonista (quit from task switcher) and then use
You are absolute correct. My fault. Restarting Pythonista helps. Many thanks!