non linear Shallow water
kinzamumtaz opened this issue · comments
while running the code i couldnt see the results you have shared like i got error of image size or if i decrease size than no result found
Can you be more specific? Works fine for me.
can you tell me your python version?
i have copied this code [shallow_water_nonlinear.py] on spyder when i run the code i got this error
ValueError: Image size of 277025x142046 pixels is too large. It must be less than 2^16 in each direction.
I pushed a new version that may fix this. Otherwise please upgrade NumPy and matplotlib to the latest version.
Thanku so much let me check
Did it work @kinzamumtaz ?
@dionhaefner still same error, can you please tell me which version you are using?
File "/Users/apple/opt/anaconda3/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 93, in init
self._renderer = _RendererAgg(int(width), int(height), dpi)
ValueError: Image size of 281108x144138 pixels is too large. It must be less than 2^16 in each direction.
I just tested it again with Python 3.10, NumPy 1.25.2, matplotlib 3.7.2.