geoscixyz / computation

notebooks and tutorials on computation in geophysics
http://computation.geosci.xyz
MIT License
24 stars 5 forks source link

Tkc dc #43

Open sgkang opened 7 years ago

sgkang commented 7 years ago

Revive TKC DC and IP

lheagy commented 7 years ago

Thanks for this Seogi! There are a couple issues I have come across in TKC_DC_fwd (I fixed a couple plt.show() statements to prevent duplicate plots with ipywidgets), but there are some more involved ones I could use your help with: image image

I am fairly sure that using

fig, ax = plt.subplots(1, 2)

is more stable than using add subplot. Would you mind replacing those?

(P.S. I am using matplotlib 4.3.23)

There are some similar things happening with the IP ones as well

image

sgkang commented 7 years ago

thanks @lheagy I did not change using fig, ax = plt.subplots(1, 2), but made some modifications due to plt.show() issue, and it seems working for my end at the moment.