Skip to main content

All Questions

-2 votes
1 answer
136 views

Adding a Legend to Pandas Scatterplot

I am using the Pandas version of Scatter, not Matplotlib. How would I add a legend to this graph based on the colors?
325's user avatar
  • 596
0 votes
1 answer
46 views

Scatter plot legend with respect to colour [Python3]

I have this MWE of six points to plot: import matplotlib.pyplot as plt plt.scatter(1,2,marker= 'o', color='darkred') plt.scatter(3,5,marker= 'o', color='yellowgreen') plt.scatter(11,21,marker= 'o', ...
Siderius's user avatar
  • 194
2 votes
1 answer
170 views

How to modify scatter-plot figure legend to show different formats for the same types of handles?

I am trying to modify the legend of a figure that contains two overlayed scatter plots. More specifically, I want two legend handles and labels: the first handle will contain multiple points (each ...
user avatar
1 vote
0 answers
94 views

Legend for marker size

I'm trying to but legend for marker size in Sccater plot there is some plot to describe what I want ( See Prediction Cost on the right ) Plot With Legend for marker size I did all what I want ...
Abdulwahabdev's user avatar
0 votes
1 answer
157 views

Solution for scatter legend of subplots

I have a problem i can´t handle. I tried several things but its not working. Or at least I am to dumb to get the solution idk. T create subplots with a for loop and every time create it with data ...
Hendrx's user avatar
  • 5
1 vote
1 answer
1k views

How to create a legend instead of a colorbar for a multicolored scatter plot?

I want to add a legend instead of a colorbar to a scatter plot with multiple colors. I am looking for something like this for a scatter plot. My current graphic looks like this: I was wondering if I ...
zorrolo's user avatar
  • 117