Add seaborn.objects column to the plotting comparison - #25
Merged
Conversation
tdhopper
force-pushed
the
add-seaborn-objects
branch
from
August 5, 2026 01:00
c547360 to
f298627
Compare
tdhopper
force-pushed
the
add-seaborn-objects
branch
from
August 5, 2026 01:09
f298627 to
331bac9
Compare
tdhopper
marked this pull request as ready for review
August 5, 2026 01:10
tdhopper
force-pushed
the
add-seaborn-objects
branch
from
August 5, 2026 01:13
331bac9 to
61d6de7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
seaborn.objects (
import seaborn.objects as so) joins the comparison as its own column: 11 of the 13 plots, bringing the total to 90 example cells. Two plots are deliberately absent — the interface has no confidence-band stat forscatter-with-regressionand no loess smoother forstacked-smooth-line-and-scatter— because a lookalike without the CI band or true smoothing would misrepresent the comparison.Stacked on #24 (
add-lets-plot).Files to review (5, notebook-dominated):
Examples.ipynb(start here)package:seaborn-objectsplus setup-cell config.render.pytests/test_plots.pyseaborn-objectsadded to exactly the 11 implemented slugs.INTRO.mdReviewer notes
so.Plotemits PNG natively in Jupyter. The setup cell setsso.Plot.config.display["scaling"] = 1(the 0.85 default shrinks output) and pushes the notebook's shared figsize/font rcParams intoso.Plot.config.theme, landing at the same ~750 logical px as the other columns.coord_flip, so manufacturer maps straight toy) and stacked-kde (.limit()clips the axis but, unlike ggplot2'sxlim(), doesn't drop rows before density estimation;gridsize=500keeps the visible window smooth).sourcechanged from a JSON string to the list-of-lines form the other 99 cells use — valid nbformat, no content implication.Verified: notebook executes clean, 90/90 example cells emit PNGs, render.py succeeds, pytest passes.