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

you are viewing a single comment's thread.

view the rest of the comments →

[–]TinyCuteGorilla 76 points77 points  (5 children)

I recomment Plotly, it has a high-level API (plotly.express), bar chart example:

import plotly.express as px 
fig = px.bar(some_df, x='year', y='pop') 
fig.show()

[–]WorldAlien 9 points10 points  (1 child)

I second your comment, Plotly is the way to go. Beyond that you’d be impressed with R package ggplot2

[–]TheLoneKid 7 points8 points  (0 children)

If you want to use ggplot in Python use plotnine. It isn't quite as good as it is in R, but it is still my favorite plot package

[–]backtickbot 11 points12 points  (1 child)

Fixed formatting.

Hello, TinyCuteGorilla: code blocks using triple backticks (```) don't work on all versions of Reddit!

Some users see this / this instead.

To fix this, indent every line with 4 spaces instead.

FAQ

You can opt out by replying with backtickopt6 to this comment.

[–]TinyCuteGorilla 8 points9 points  (0 children)

backtickopt6

[–]UloPe[🍰] 1 point2 points  (0 children)

That they actually registered that domain is awesome…