clawpack / geoclaw

Version of Clawpack for geophysical waves and flows
http://www.clawpack.org/geoclaw
BSD 3-Clause "New" or "Revised" License
75 stars 86 forks source link

topotools error #515

Open fachri92 opened 3 years ago

fachri92 commented 3 years ago

I tried working with working with the clawpack.geoclaw.topotools in the topotools_examples.ipynb and when i tried to plot the topography data using

topo.plot()

I keep getting this following error

TypeError: ticklabel_format() got an unexpected keyword argument 'format'

mandli commented 3 years ago

Can you provide the code that raised the error?

rjleveque commented 3 years ago

The matplotlib ticklabel_format function arguments changed in recent versions, and now you have to specify style='plain' instead of format='plain'

This should be fixed everywhere in v5.8.0, but if you are using an older version of Clawpack with a newer matplotlib, you might run into this problem. Or let us know if there's a problem somewhere in v5.8.0.

This should

On Sat, Jul 3, 2021 at 6:29 AM fachri92 @.***> wrote:

I tried working with working with the clawpack.geoclaw.topotools in the topotools_examples.ipynb and when i tried to plot the topography data using

topo.plot()

I keep getting this following error

TypeError: ticklabel_format() got an unexpected keyword argument 'format'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clawpack/geoclaw/issues/515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFPZ6QGHIBESLG3G6TOYNLTV37ALANCNFSM47YDGJHA .