seaborn の API リファレンス
seaborn (mwaskom/seaborn) の公開 API 80 件 —— クラス 49、関数 10、メソッド 21。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: mwaskom/seaborn
| 種別 | 件数 |
|---|---|
| クラス | 49 |
| 関数 | 10 |
| メソッド | 21 |
API 一覧
class
seaborn._base.HueMappingMapping that sets artist colors according to data values.
class
seaborn._base.SemanticMappingBase class for mapping data values to plot attributes.
class
seaborn._base.SizeMappingMapping that sets artist sizes according to data values.
class
seaborn._base.StyleMappingMapping that sets artist style according to data values.
class
seaborn._base.VectorPlotterBase class for objects underlying *plot functions.
func
seaborn._base.categorical_order(vector, order=None)Return a list of unique data values.
func
seaborn._compat.get_legend_handles(legend)Handle legendHandles attribute rename.
func
seaborn._compat.share_axis(ax0, ax1, which)Handle changes to post-hoc axis sharing.
class
seaborn._core.data.PlotDataData table with plot variable schema and mapping to original names.
method
seaborn._core.data.PlotData.join(data:DataSource, variables:dict[str, VariableSpec] | None) -> PlotDataAdd, replace, or drop variables and return as a new dataset.
func
seaborn._core.data.handle_data_source(data:DataSource) -> pd.DataFrame | Mapping | NoneConvert the data source object to a common union representation.
method
seaborn._core.groupby.GroupBy.agg(data:DataFrame, *args, **kwargs) -> DataFrameReduce each group to a single row in the output.
method
seaborn._core.groupby.GroupBy.apply(data:DataFrame, func:Callable[..., DataFrame], *args, **kwargs) -> DataFrameApply a DataFrame -> DataFrame mapping to each group.
class
seaborn._core.moves.MoveBase class for objects that apply simple positional transforms.
class
seaborn._core.moves.ShiftDisplacement of all marks with the same magnitude / direction.
class
seaborn._core.plot.DisplayConfigConfiguration for IPython's rich display hooks.
class
seaborn._core.plot.PlotAn interface for declaratively specifying statistical graphics.
method
seaborn._core.plot.Plot.layout(*size:tuple[float, float] | Default=default, *engine:str | None | Default=default, *extent:tuple[float, float, float, float] | Default=default) -> PlotControl the figure size and layout.
method
seaborn._core.plot.Plot.limit(**limits:tuple[Any, Any]) -> PlotControl the range of visible data.
method
seaborn._core.plot.Plot.on(target:Axes | SubFigure | Figure) -> PlotProvide existing Matplotlib figure or axes for drawing the plot.
method
seaborn._core.plot.Plot.plot(pyplot:bool=False) -> PlotterCompile the plot spec and return the Plotter object.
method
seaborn._core.plot.Plot.save(loc, **kwargs) -> PlotCompile the plot and write it to a buffer or file on disk.
method
seaborn._core.plot.Plot.scale(**scales:Scale) -> PlotSpecify mappings from data units to visual properties.
method
seaborn._core.plot.Plot.share(**shares:bool | str) -> PlotControl sharing of axis limits and ticks across subplots.
method
seaborn._core.plot.Plot.show(**kwargs) -> NoneCompile the plot and display it by hooking into pyplot.
method
seaborn._core.plot.Plot.theme(config:Mapping[str, Any]) -> PlotControl the appearance of elements in the plot.
method
seaborn._core.plot.Plotter.show(**kwargs) -> NoneDisplay the plot by hooking into pyplot.
func
seaborn._core.plot.theme_context(params:dict[str, Any]) -> GeneratorTemporarily modify specifc matplotlib rcParams.
class
seaborn._core.properties.AlphaOpacity of the color values for an arbitrary mark.
method
seaborn._core.properties.Color.get_mapping(scale:Scale, data:Series) -> MappingReturn a function that maps from data domain to color values.
class
seaborn._core.properties.EdgeWidthThickness of the edges on a patch mark, in points.
method
seaborn._core.properties.Fill.get_mapping(scale:Scale, data:Series) -> MappingReturn a function that maps each data value to True or False.
class
seaborn._core.properties.FontSizeFont size for textual marks, in points.
class
seaborn._core.properties.IntervalPropertyA numeric property where scale range can be defined as an interval.
class
seaborn._core.properties.LineStyleDash pattern for line-type marks.
class
seaborn._core.properties.LineWidthThickness of a line mark, in points.
class
seaborn._core.properties.OffsetOffset for edge-aligned text, in point units.
method
seaborn._core.properties.Property.default_scale(data:Series) -> ScaleGiven data, initialize appropriate scale class.
method
seaborn._core.properties.Property.get_mapping(scale:Scale, data:Series) -> MappingReturn a function that maps from data domain to property range.
method
seaborn._core.properties.Property.standardize(val:Any) -> AnyCoerce flexible property value to standardized representation.
class
seaborn._core.properties.StrokeThickness of lines that define point glyphs.
func
seaborn._core.rules.categorical_order(vector:Series, order:list | None=None) -> listReturn a list of unique data values using seaborn's ordering rules.
class
seaborn._core.scales.BooleanA scale with a discrete domain of True and False values.
class
seaborn._core.scales.ContinuousA numeric scale supporting norms and functional transforms.
class
seaborn._core.scales.NominalA categorical scale without relative importance / magnitude.
method
seaborn._core.scales.Nominal.label(formatter:Formatter | None=None) -> NominalConfigure the selection of labels for the scale's axis or legend.
method
seaborn._core.scales.Nominal.tick(locator:Locator | None=None) -> NominalConfigure the selection of ticks for the scale's axis or legend.
class
seaborn._core.scales.ScaleBase class for objects that map data values to visual properties.
class
seaborn._core.scales.TemporalA scale for date/time data.
class
seaborn._marks.area.AreaA fill mark drawn from a baseline to data values.
class
seaborn._marks.area.BandA fill mark representing an interval between values.
class
seaborn._marks.bar.BarA bar mark drawn between baseline and data values.
class
seaborn._marks.bar.BarsA faster bar mark with defaults more suitable for histograms.
class
seaborn._marks.base.MarkBase class for objects that visually represent data.
class
seaborn._marks.dot.DotA mark suitable for dot plots or less-dense scatterplots.
class
seaborn._marks.dot.DotsA dot mark defined by strokes to better handle overplotting.
class
seaborn._marks.line.DashA line mark drawn as an oriented segment for each datapoint.
class
seaborn._marks.line.LinesA faster but less-flexible mark for drawing many lines.
class
seaborn._marks.line.PathA mark connecting data points in the order they appear.
class
seaborn._marks.line.PathsA faster but less-flexible mark for drawing many paths.
class
seaborn._marks.line.RangeAn oriented line mark drawn between min/max values.
class
seaborn._marks.text.TextA textual mark to annotate or represent data values.
class
seaborn._statistics.ECDFUnivariate empirical cumulative distribution estimator.
class
seaborn._statistics.HistogramUnivariate and bivariate histogram estimator.
class
seaborn._statistics.KDEUnivariate and bivariate kernel density estimator.
class
seaborn._stats.aggregation.AggAggregate data along the value axis using given method.
class
seaborn._stats.aggregation.EstCalculate a point estimate and error bar interval.
class
seaborn._stats.base.StatBase class for objects that apply statistical transformations.
class
seaborn._stats.counting.CountCount distinct observations within groups.
class
seaborn._stats.density.KDECompute a univariate kernel density estimate.
class
seaborn._stats.order.PercReplace observations with percentile values.
class
seaborn.axisgrid.FacetGridMulti-plot grid for plotting conditional relationships.
method
seaborn.axisgrid.FacetGrid.despine(**kwargs)Remove axis spines from the facets.
class
seaborn.axisgrid.GridA grid that can have multiple subplots and an external legend.
class
seaborn.axisgrid.PairGridSubplot grid for plotting pairwise relationships in a dataset.
class
seaborn.categorical.BeeswarmModifies a scatterplot artist to show a beeswarm plot.
func
seaborn.miscplot.dogplot(*_, **__)Who's a good boy?
func
seaborn.rcmod.reset_defaults()Restore all RC params to default settings.
func
seaborn.utils.axlabel(xlabel, ylabel, **kwargs)Grab current axis and label it.
func
seaborn.utils.to_utf8(obj)Return a string representing a Python object.
この情報について
掲載しているシグネチャは mwaskom/seaborn の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。