Traceback (most recent call last):


 "_ctypes/callbacks.c", line 237, in 'calling callback function'


 "C:\Users\...\AppData\Roaming\Python\Python38\site-packages\pyglet\window\win32\__init__.py", line 712, in f

result = event_handler(msg, wParam, lParam)


 "C:\Users\...\AppData\Roaming\Python\Python38\site-packages\pyglet\window\win32\__init__.py", line 1049, in _event_size

self.dispatch_event('on_resize', self._width, self._height)


 "C:\Users\...\AppData\Roaming\Python\Python38\site-packages\pyglet\window\__init__.py", line 1333, in dispatch_event

if EventDispatcher.dispatch_event(self, *args) != False:


 "C:\Users\...\AppData\Roaming\Python\Python38\site-packages\pyglet\event.py", line 415, in dispatch_event

if getattr(self, event_type)(*args):


 "C:\Users\...\AppData\Roaming\Python\Python38\site-packages\trimesh\viewer\windowed.py", line 583, in on_resize

width, height = self._update_perspective(width, height)


 "C:\Users\NEGGINK\AppData\Roaming\Python\Python38\site-packages\trimesh\viewer\windowed.py", line 572, in _update_perspective

width / float(height),
ZeroDivisionError: float division by zero

Traceback (most recent call last):


 "/Users/pilo/development/itba/pf/test/sma.py", line 94, in <module>

bt.plot(plot_equity=True, superimpose=False, resample="5T",


 "/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/backtesting.py", line 1704, in plot

plot(


 "/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/_plotting.py", line 185, in plot

df, indicators, equity_data, trades = _maybe_resample_data(


 "/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/_plotting.py", line 110, in _maybe_resample_data

indicators = [_Indicator(i.df.resample(freq, label='right').mean()


 "/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/_plotting.py", line 110, in <listcomp>

indicators = [_Indicator(i.df.resample(freq, label='right').mean()


 "/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/_util.py", line 83, in df

df = pd.DataFrame(values.T, index=self._opts['data'].index,
AttributeError: '_Indicator' object has no attribute '_opts'
