New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
real fivethirtyeight / "The Economist" style theme #586
Comments
There isn't a way to do it easily. You would even have to drop down into matplotlib to get the exact look! If I remember correctly, 538 used to do their plots in ggplot2, then finish up in inkscape or some other program. With Matplotlib as backend, placing stuff pixel-perfect around the plot can be very finicky, as you can see at the link. |
Many thanks for coming back! A full fledged theme for 538 may be over the top (especially the line labeling) . However, some elements would probably be feasible. I am thinking of:
P.S. interesting that "Fivethirtyeight" uses ggplot2 with inkscape. Would you know what the journal "The Economist" uses? |
Given what matplotlib gives us to work with, automatic precise alignment is hard and that affects the 3 points above. I will be exploring this area soon and maybe we could do better. |
Thanks :-) |
We now have a layout manager, this feature could not make the upcoming release but will definitely make the one that follows. |
Thanks a lot for the amazing library! Not sure if this would be covered by the implementation that you have in mind but I think it might be somewhat related. For example, in the latest release, if you use legend position bottom, the legend will appear below the chart, its center aligned in the same vertical of the center of the panel. I would love to have the possibility of aligning it to the center of the combined size of axis and panel. To me, this causes that when I glance over the chart, the legend seems to be not correctly aligned since my eyes cannot ignore the presence of the axis. It is something very minor but, at least in my eyes, it makes quite a difference in the aesthetics of charts. |
Hi
thanks for your great package! Is there a way to easily (e.g. by theme) make real fivethirtyeight / "The Economist" style plots?
This would (most importantly) include:
theme_538()
likematplotlib’s fivethirtyeight
stylethe source of the screen shot is How to Generate FiveThirtyEight Graphs in Python where all steps are describe to generate a FiveThirtyEight Graphs (manually) directly by
matplotlib
.The text was updated successfully, but these errors were encountered: