Reputation: 229
In python, suppose that I were to plot a scatter plot as follows,
sc = plt.scatter(x_data, y_data, c=color_vector, s=size_vector, cmap=cmap, norm=norm)
I know I can get x_data, y_data
from sc
using sc.get_offsets()
, but how about the values color_vector, size_vector
?
Upvotes: 2
Views: 131