PyLops / pylops

PyLops – A Linear-Operator Library for Python
https://pylops.readthedocs.io
GNU Lesser General Public License v3.0
431 stars 102 forks source link

Quick fix for a typo in `tutorials/dottest.py` #556

Closed alex-rakowski closed 1 year ago

alex-rakowski commented 1 year ago

changes: gs = pltgs.GridSpec(1, 9) to gs = plt.GridSpec(1, 9)

mrava87 commented 1 year ago

I think is due to the import import matplotlib.gridspec as pltgs. Perhaps nowadays it is not needed anymore to import that specific submodule, but if we do the change you suggest we should also remove import matplotlib.gridspec as pltgs. Agree?

alex-rakowski commented 1 year ago

I made a mistake. I didn't notice the import when I was copying and working through the example.

I could edit the pltgs import and usage as I think it's not needed anymore, but it works so maybe simplest to just leave it unchanged.