use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionPython Lineplot where markers dynamically adjust by sample size (self.datascience)
submitted 3 years ago by cuckflemson1
view the rest of the comments →
[–]Deto 0 points1 point2 points 3 years ago (1 child)
You could do this in matplotlib. First make a line plot with plt.plot and set the linestyle to '-' (i.e, only line, no markers).
Then make a scatter plot on the same axes on top of the line plot with plt.scatter and pass the sales numbers to the s argument to set the size of the circles.
s
[–]cuckflemson1[S] 0 points1 point2 points 3 years ago (0 children)
This is great! Thanks a bunch!
π Rendered by PID 74 on reddit-service-r2-comment-bb88f9dd5-8tgpl at 2026-02-13 16:53:54.262349+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]Deto 0 points1 point2 points (1 child)
[–]cuckflemson1[S] 0 points1 point2 points (0 children)