Closed janomecopter closed 1 year ago
Not sure what caused this / if this was reported elsewhere, but this seems to be fixed in the latest "dev" version (install with pip install git+https://github.com/proplot-dev/proplot
). Result of your example:
# your code here, if applicable
import matplotlib.pyplot as plt
f, ax = plt.subplots()
ax.scatter(list(range(5)), [x*2 for x in range(5)], c=['r' for x in range(5)])
Description
When applying a list of matplotlib-valid colors to an ax.scatter plot, the process fails with a TypeError - it appears to occur when calling numpy to mask values.
Steps to reproduce
A "Minimal, Complete and Verifiable Example" will make it much easier for maintainers to help you.
Expected behavior: Plot of five red points to appear.
Actual behavior: Process fails with traceback.
Equivalent steps in matplotlib
Please try to make sure this bug is related to a proplot-specific feature. If you're not sure, try to replicate it with the native matplotlib API. Matplotlib bugs belong on the matplotlib github page.
Proplot version
Paste the results of
import matplotlib; print(matplotlib.__version__); import proplot; print(proplot.version)
here. 3.4.3 0.9.5