sdkagent

seaborn API reference

80 public APIs from seaborn (mwaskom/seaborn) — 49 classes, 10 functions, 21 methods. Signatures extracted by static analysis of the actual source.

Repository: mwaskom/seaborn

KindCount
Classes49
Functions10
Methods21

API list

classseaborn._base.HueMapping
Mapping that sets artist colors according to data values.
classseaborn._base.SemanticMapping
Base class for mapping data values to plot attributes.
classseaborn._base.SizeMapping
Mapping that sets artist sizes according to data values.
classseaborn._base.StyleMapping
Mapping that sets artist style according to data values.
classseaborn._base.VectorPlotter
Base class for objects underlying *plot functions.
funcseaborn._base.categorical_order(vector, order=None)
Return a list of unique data values.
funcseaborn._compat.get_legend_handles(legend)
Handle legendHandles attribute rename.
funcseaborn._compat.share_axis(ax0, ax1, which)
Handle changes to post-hoc axis sharing.
classseaborn._core.data.PlotData
Data table with plot variable schema and mapping to original names.
methodseaborn._core.data.PlotData.join(data:DataSource, variables:dict[str, VariableSpec] | None) -> PlotData
Add, replace, or drop variables and return as a new dataset.
funcseaborn._core.data.handle_data_source(data:DataSource) -> pd.DataFrame | Mapping | None
Convert the data source object to a common union representation.
methodseaborn._core.groupby.GroupBy.agg(data:DataFrame, *args, **kwargs) -> DataFrame
Reduce each group to a single row in the output.
methodseaborn._core.groupby.GroupBy.apply(data:DataFrame, func:Callable[..., DataFrame], *args, **kwargs) -> DataFrame
Apply a DataFrame -> DataFrame mapping to each group.
classseaborn._core.moves.Move
Base class for objects that apply simple positional transforms.
classseaborn._core.moves.Shift
Displacement of all marks with the same magnitude / direction.
classseaborn._core.plot.DisplayConfig
Configuration for IPython's rich display hooks.
classseaborn._core.plot.Plot
An interface for declaratively specifying statistical graphics.
methodseaborn._core.plot.Plot.layout(*size:tuple[float, float] | Default=default, *engine:str | None | Default=default, *extent:tuple[float, float, float, float] | Default=default) -> Plot
Control the figure size and layout.
methodseaborn._core.plot.Plot.limit(**limits:tuple[Any, Any]) -> Plot
Control the range of visible data.
methodseaborn._core.plot.Plot.on(target:Axes | SubFigure | Figure) -> Plot
Provide existing Matplotlib figure or axes for drawing the plot.
methodseaborn._core.plot.Plot.plot(pyplot:bool=False) -> Plotter
Compile the plot spec and return the Plotter object.
methodseaborn._core.plot.Plot.save(loc, **kwargs) -> Plot
Compile the plot and write it to a buffer or file on disk.
methodseaborn._core.plot.Plot.scale(**scales:Scale) -> Plot
Specify mappings from data units to visual properties.
methodseaborn._core.plot.Plot.share(**shares:bool | str) -> Plot
Control sharing of axis limits and ticks across subplots.
methodseaborn._core.plot.Plot.show(**kwargs) -> None
Compile the plot and display it by hooking into pyplot.
methodseaborn._core.plot.Plot.theme(config:Mapping[str, Any]) -> Plot
Control the appearance of elements in the plot.
methodseaborn._core.plot.Plotter.show(**kwargs) -> None
Display the plot by hooking into pyplot.
funcseaborn._core.plot.theme_context(params:dict[str, Any]) -> Generator
Temporarily modify specifc matplotlib rcParams.
classseaborn._core.properties.Alpha
Opacity of the color values for an arbitrary mark.
methodseaborn._core.properties.Color.get_mapping(scale:Scale, data:Series) -> Mapping
Return a function that maps from data domain to color values.
classseaborn._core.properties.EdgeWidth
Thickness of the edges on a patch mark, in points.
methodseaborn._core.properties.Fill.get_mapping(scale:Scale, data:Series) -> Mapping
Return a function that maps each data value to True or False.
classseaborn._core.properties.FontSize
Font size for textual marks, in points.
classseaborn._core.properties.IntervalProperty
A numeric property where scale range can be defined as an interval.
classseaborn._core.properties.LineStyle
Dash pattern for line-type marks.
classseaborn._core.properties.LineWidth
Thickness of a line mark, in points.
classseaborn._core.properties.Offset
Offset for edge-aligned text, in point units.
methodseaborn._core.properties.Property.default_scale(data:Series) -> Scale
Given data, initialize appropriate scale class.
methodseaborn._core.properties.Property.get_mapping(scale:Scale, data:Series) -> Mapping
Return a function that maps from data domain to property range.
methodseaborn._core.properties.Property.standardize(val:Any) -> Any
Coerce flexible property value to standardized representation.
classseaborn._core.properties.Stroke
Thickness of lines that define point glyphs.
funcseaborn._core.rules.categorical_order(vector:Series, order:list | None=None) -> list
Return a list of unique data values using seaborn's ordering rules.
classseaborn._core.scales.Boolean
A scale with a discrete domain of True and False values.
classseaborn._core.scales.Continuous
A numeric scale supporting norms and functional transforms.
classseaborn._core.scales.Nominal
A categorical scale without relative importance / magnitude.
methodseaborn._core.scales.Nominal.label(formatter:Formatter | None=None) -> Nominal
Configure the selection of labels for the scale's axis or legend.
methodseaborn._core.scales.Nominal.tick(locator:Locator | None=None) -> Nominal
Configure the selection of ticks for the scale's axis or legend.
classseaborn._core.scales.Scale
Base class for objects that map data values to visual properties.
classseaborn._core.scales.Temporal
A scale for date/time data.
classseaborn._marks.area.Area
A fill mark drawn from a baseline to data values.
classseaborn._marks.area.Band
A fill mark representing an interval between values.
classseaborn._marks.bar.Bar
A bar mark drawn between baseline and data values.
classseaborn._marks.bar.Bars
A faster bar mark with defaults more suitable for histograms.
classseaborn._marks.base.Mark
Base class for objects that visually represent data.
classseaborn._marks.dot.Dot
A mark suitable for dot plots or less-dense scatterplots.
classseaborn._marks.dot.Dots
A dot mark defined by strokes to better handle overplotting.
classseaborn._marks.line.Dash
A line mark drawn as an oriented segment for each datapoint.
classseaborn._marks.line.Lines
A faster but less-flexible mark for drawing many lines.
classseaborn._marks.line.Path
A mark connecting data points in the order they appear.
classseaborn._marks.line.Paths
A faster but less-flexible mark for drawing many paths.
classseaborn._marks.line.Range
An oriented line mark drawn between min/max values.
classseaborn._marks.text.Text
A textual mark to annotate or represent data values.
classseaborn._statistics.ECDF
Univariate empirical cumulative distribution estimator.
classseaborn._statistics.Histogram
Univariate and bivariate histogram estimator.
classseaborn._statistics.KDE
Univariate and bivariate kernel density estimator.
classseaborn._stats.aggregation.Agg
Aggregate data along the value axis using given method.
classseaborn._stats.aggregation.Est
Calculate a point estimate and error bar interval.
classseaborn._stats.base.Stat
Base class for objects that apply statistical transformations.
classseaborn._stats.counting.Count
Count distinct observations within groups.
classseaborn._stats.density.KDE
Compute a univariate kernel density estimate.
classseaborn._stats.order.Perc
Replace observations with percentile values.
classseaborn.axisgrid.FacetGrid
Multi-plot grid for plotting conditional relationships.
methodseaborn.axisgrid.FacetGrid.despine(**kwargs)
Remove axis spines from the facets.
classseaborn.axisgrid.Grid
A grid that can have multiple subplots and an external legend.
classseaborn.axisgrid.PairGrid
Subplot grid for plotting pairwise relationships in a dataset.
classseaborn.categorical.Beeswarm
Modifies a scatterplot artist to show a beeswarm plot.
funcseaborn.miscplot.dogplot(*_, **__)
Who's a good boy?
funcseaborn.rcmod.reset_defaults()
Restore all RC params to default settings.
funcseaborn.utils.axlabel(xlabel, ylabel, **kwargs)
Grab current axis and label it.
funcseaborn.utils.to_utf8(obj)
Return a string representing a Python object.

About this data

These signatures were extracted from the public source of mwaskom/seaborn using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries