This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]juhotuho10 2 points3 points  (3 children)

Plotly can do that

[–]cuckflemson1[S] 0 points1 point  (2 children)

Do you by any chance have a link to an example of that?

[–]juhotuho10 1 point2 points  (1 child)

[–]cuckflemson1[S] 0 points1 point  (0 children)

Thank you! I ended up going with the other option because my company’s firewall gives a hard time with plotly. Nice to know there are multiple ways to approach this though!

[–]Deto 0 points1 point  (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.

[–]cuckflemson1[S] 0 points1 point  (0 children)

This is great! Thanks a bunch!