File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/pytplot/MPLPlotter/tplot.py", line 497, in tplot
colorbar = fig.colorbar(colorbars[variable]['im'], cax=cax)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/figure.py", line 1310, in colorbar
cb = cbar.Colorbar(cax, mappable, **cb_kw)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 384, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/colorbar.py", line 402, in __init__
self._reset_locator_formatter_scale()
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/colorbar.py", line 1173, in _reset_locator_formatter_scale
self._process_values()
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/colorbar.py", line 1111, in _process_values
b = self.norm.inverse(b)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/colors.py", line 1724, in inverse
raise ValueError("Invalid vmin or vmax")
ValueError: Invalid vmin or vmax
Traceback (most recent call last):
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/backend_bases.py", line 1226, in _on_timer
ret = func(*args, **kwargs)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/backends/backend_macosx.py", line 68, in callback_func
callback()
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/backends/backend_macosx.py", line 88, in _draw_idle
self.draw()
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/backends/backend_macosx.py", line 50, in draw
super().draw()
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/backends/backend_agg.py", line 400, in draw
self.figure.draw(self.renderer)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/artist.py", line 95, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/artist.py", line 72, in draw_wrapper
return draw(artist, renderer)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/figure.py", line 3175, in draw
mimage._draw_list_compositing_images(
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/artist.py", line 72, in draw_wrapper
return draw(artist, renderer)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 3064, in draw
mimage._draw_list_compositing_images(
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/artist.py", line 72, in draw_wrapper
return draw(artist, renderer)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/collections.py", line 2074, in draw
self.update_scalarmappable()
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/collections.py", line 887, in update_scalarmappable
self._mapped_colors = self.to_rgba(self._A, self._alpha)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/cm.py", line 493, in to_rgba
x = self.norm(x)
File "/Users/jwl/PycharmProjects/pyspedas/venv/lib/python3.9/site-packages/matplotlib/colors.py", line 1711, in __call__
raise ValueError("Invalid vmin or vmax")
ValueError: Invalid vmin or vmax
gives an error at MPLPlotter/tplot.py line 497: