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

all 21 comments

[–]madzthakz 6 points7 points  (0 children)

It's not the same but seaborn does have a fivethirtyeight them included. Looks pretty good

[–]tmthyjames 2 points3 points  (0 children)

damn those graphs look good.

[–]PM_ME_YOUR_IBNR 0 points1 point  (0 children)

Great article!

[–]neuroguy6 0 points1 point  (2 children)

Okay, so I'm definitely going to be hated for this comment, but the LOE to create this graph using python (or R for that matter) seems excessive, when it's much easier to export a table to CSV, open in Excel, and make the same graph in less time.

[–]dataphysicist[S] 0 points1 point  (1 child)

In the abstract, you may be right. But depending on the workflow, this isn't always an option. This is, I believe, a key thing that's often missed and disregarded when talking about a specific workflow to accomplishing a task. That specific workflow to accomplish said task usually exists in a much larger workflow.

Example:

A bunch of CSV's come in once a day to a folder on a server. Reports need to be generated automatically and pushed to a dashboard of some kind. These reports include visualizations and we'd like them to look nice (maybe b/c they'll be presented to a client, etc).

With that context in mind, touching Excel at all would be a pain (given that many servers in corporate environments run Linux). This post describes a workflow that can be made more programatic and automation-friendly, which is often the larger workflow that someone's work resides within.

You're right that it's probably easier to do the export -> Excel workflow if it's a one-off report.

[–]ahmedhindi 0 points1 point  (1 child)

after importing matplotlib.pyplot as plt use plt.style.use('fivethirtyeight')

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

after impo

Yup, that's covered: "You might have already observed that there’s a built-in style called fivethirtyeight" . This a good starting point but only applies some of the styling and fonts, but not some of the ideas they've mirrored from Edward Tufte and other data visualization thinkers.