I want to draw some circles using `ax3.scatter(x1, y1, s=r1 , facecolors=’none’, edgecolors=’r’), where: x1 and y1 are the coordinates of these circles r1 is the radius of these circles I thought typing s = r1 I would get the correct radius, but that’s not the case. How can I fix this? Answer If you change the value of ‘r’
Tag: scatter
How can I format multiple thousands of date-dependant data points in a readable graph with Matplotlib?
I have two corresponding lists, one of the dates and another of its respective price. The lists are 30,000 data points long. I’m using this code to generate the graph below: I’m supposed to have the dates separated in a readable format using the code above but it doesn’t seem to work. I’m also not sure if it’s possible to
How to iterate over scatter data?
I am trying to plot a time series on a scatterplot with dropdown boxes using Plotly express. I have 2 traces filtered on some unique values in the “name” column of my data. I’m using the ‘color’ function on px.scatter to filter by this column. Since the traces have the same name, they are duplicated on the plot and I
Matplotlib 3d scatter _facecolors3d not working
I am trying to save a 3d scatter plot animation where points appear one at a time. I made the animation work, but when I set the face colors of the points they do not take effect and all points appear blue. When I use the same color array but on static image, colors work well. Animation Code: When I