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
{{ message }}
Repository navigation
Incorrect processing of plot_args when using data argument #11389
As opposed to dicts, pandas.DataFramse etc. name in container does not check if a field exists in a numpy array. Hence, mustn't do args[1] in data unconditionally on the data type. This was spotted due to the indirectly related warning:
lib/matplotlib/tests/test_axes.py::test_structured_data
/home/travis/build/matplotlib/matplotlib/lib/matplotlib/axes/_axes.py:52: FutureWarning: elementwise == comparison failed and returning scalar instead; this will raise an error or perform elementwise comparison in the future.
if (not args[1] in data and
Activity
tacaswell commentedon Jun 6, 2018
I have a memory of a PR special casing structured arrays recently....
jklymak commentedon Jul 16, 2018
@timhoffm is this closed by #10872?
timhoffm commentedon Jul 16, 2018
Yes, fixed by #10872.