1 Comment

error in procedure two

IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

The above exception was the direct cause of the following exception:

ConversionError Traceback (most recent call last)

/usr/local/lib/python3.10/dist-packages/matplotlib/axis.py in convert_units(self, x)

1732 ret = self.converter.convert(x, self.units, self)

1733 except Exception as e:

-> 1734 raise munits.ConversionError('Failed to convert value(s) to axis '

1735 f'units: {x!r}') from e

1736 return ret

ConversionError: Failed to convert value(s) to axis units: '2020-02-20'

---------------------------------------------------------------------------

IndexError Traceback (most recent call last)

/usr/local/lib/python3.10/dist-packages/matplotlib/axis.py in convert_units(self, x)

1731 try:

-> 1732 ret = self.converter.convert(x, self.units, self)

1733 except Exception as e:

19 frames

IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

The above exception was the direct cause of the following exception:

ConversionError Traceback (most recent call last)

/usr/local/lib/python3.10/dist-packages/matplotlib/axis.py in convert_units(self, x)

1732 ret = self.converter.convert(x, self.units, self)

1733 except Exception as e:

-> 1734 raise munits.ConversionError('Failed to convert value(s) to axis '

1735 f'units: {x!r}') from e

1736 return ret

ConversionError: Failed to convert value(s) to axis units: '2020-02-20'

<Figure size 1300x600 with 1 Axes>

Expand full comment