You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0
1
Traceback (most recent call last):
File "test1.py", line 12, in <module>
ax.plot('xdata', 'ydata', data=data, marker='o')
File "/home/stilley2/anaconda3/envs/testmpl/lib/python3.7/site-packages/matplotlib/__init__.py", line 1805, in inner
return func(ax, *args, **kwargs)
File "/home/stilley2/anaconda3/envs/testmpl/lib/python3.7/site-packages/matplotlib/axes/_axes.py", line 1603, in plot
for line in self._get_lines(*args, **kwargs):
File "/home/stilley2/anaconda3/envs/testmpl/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 393, in _grab_next_args
yield from self._plot_args(this, kwargs)
File "/home/stilley2/anaconda3/envs/testmpl/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 342, in _plot_args
linestyle, marker, color = _process_plot_format(tup[-1])
File "/home/stilley2/anaconda3/envs/testmpl/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 118, in _process_plot_format
'Unrecognized character %c in format string' % c)
ValueError: Unrecognized character a in format string
Bug report
Bug summary
Passing a pandas Series object to axes.plot as data doesn't work.
This used to work in matplotlib 2.
Code for reproduction
Actual outcome
Expected outcome
A plot with a point at (0, 1)
Matplotlib version
(installed using conda)
The text was updated successfully, but these errors were encountered: