@ChristiansenJen @CRCPress I regret buying your book...
...Because I got the paperback. I should have gotten the hardcover! It deserves it. Super awesome content π
@paniterka_ch@matplotlib@FiveThirtyEight Nice plot!
Which of the states had a significant interaction effect? i.e. what states had a different slope over time compared to the U.S. average?
@VisualCap A very good starting point for the analysis.
The ideal analysis would assess the significance of confounders, such as model year, number sold, driver income, etc.
Good luck presenting all that extra data in a nice graphic though.
@mdancho84 Where's the evidence from research that mixing multiple types improves idea communication and clarity for viewers?
Also label and tick label sizes β οΈπ
@RyWX6 Nice plot!
I can't reproduce with a super simple example. I wonder if this is from other complexities introduced in this plot? Or DPI rendering?
Might be time for spines instead of the background patch.
ax.spines[:].set_visible(True), set_linewidth(1), set_edgecolor('black')
@Sanivadatweets Great plots! Top tips:
White background or black background.
https://t.co/musFBTDUSO for color palettes
ax = plt.gca()
ax.tick_params(length=0, pad=2, labelsize=10)
ax.xaxis.set_major_locator(plt.MaxNLocator(5))
import seaborn as sns
sns.despine(ax=ax)
@milan_janosov@matplotlib@GameOfThrones@HouseofDragon@IMDb Even though it's not recommended, a divergent color palette instead of a sequential color palette would work well for TV ratings.
Low scoring episodes get cold receptions (blue), mediocre ones are lukewarm (white), best episodes are hot (red)
@TweetsByMarkT After setting the axes to have equal aspect retio, you can add things like a legend or colorbar into the extra whitespace without affecting the ratio.
@TweetsByMarkT Do you want the entire figure square or just the plot axes to be square?
If figure: tinker with plt.gcf().set_size_inches(width, height).
If plot axes: plt.gca().set_aspect('equal')
@RiddleMeCam@matplotlib Very cool viz.
I like that you went straight for inset axes instead of messing with getting the y positions right for the 3 different plot types.