altair の API リファレンス
altair (vega/altair) の公開 API 228 件 —— クラス 97、関数 55、メソッド 76。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: vega/altair
| 種別 | 件数 |
|---|---|
| クラス | 97 |
| 関数 | 55 |
| メソッド | 76 |
API 一覧
class
altair.datasets._cache.CsvCache`csv`_, `gzip`_ -based, lazy metadata lookup.
method
altair.datasets._cache.CsvCache.rotated() -> Mapping[str, Sequence[Any]]Columnar view.
class
altair.datasets._cache.DatasetCacheOpt-out caching of remote dataset requests.
method
altair.datasets._cache.DatasetCache.clear() -> NoneDelete all previously cached datasets.
method
altair.datasets._cache.DatasetCache.download_all() -> NoneDownload any missing datasets for latest version.
method
altair.datasets._cache.DatasetCache.is_empty() -> boolCache is active, but no files are stored in ``self.path``.
method
altair.datasets._cache.DatasetCache.path() -> PathReturns path to datasets cache.
class
altair.datasets._cache.SchemaCache`json`_, `gzip`_ -based, lazy schema lookup.
method
altair.datasets._cache.SchemaCache.by_dtype(name:_Dataset, *dtypes:type[DType]) -> list[str]Return column names specified in ``name``'s schema.
method
altair.datasets._loader.Loader.cache() -> DatasetCacheCaching of remote dataset requests.
method
altair.datasets._loader.Loader.url(name:Dataset | LiteralString, suffix:Extension | None=None) -> strReturn the address of a remote dataset.
class
altair.datasets._reader.ReaderModular file reader, targeting remote & local tabular resources.
class
altair.datasets._readimpl.BaseImplA function wrapped with dataset support constraints.
method
altair.datasets._readimpl.BaseImpl.unwrap_or_skip(meta:Items) -> Callable[..., R] | type[AltairDatasetsError] | SkipIndicate an action to take for a dataset.
class
altair.datasets._readimpl.SkipFalsy sentinel.
class
altair.datasets._typing.MetadataFull schema for ``metadata.parquet``.
func
altair.datasets.url(name:Dataset | LiteralString, suffix:Extension | None=None) -> strReturn the address of a remote dataset.
class
altair.expr.core.DatumTypeAn object to assist in building Vega-Lite Expressions.
class
altair.expr.core.ExpressionExpression.
class
altair.jupyter.jupyter_chart.ParamsTraitlet class storing a JupyterChart's params.
class
altair.jupyter.jupyter_chart.SelectionsTraitlet class storing a JupyterChart's selections.
func
altair.jupyter.jupyter_chart.collect_transform_params(chart:TopLevelSpec) -> set[str]Collect the names of params that are defined by transforms.
func
altair.theme.register(name:LiteralString, *enable:bool) -> Callable[[Plugin[ThemeConfig]], Plugin[ThemeConfig]]Decorator for registering a theme function.
func
altair.theme.unregister(name:LiteralString) -> Plugin[ThemeConfig]Remove and return a previously registered theme.
method
altair.utils._dfi_types.Column.describe_categorical() -> AnyIf the dtype is categorical, there are two options.
method
altair.utils._dfi_types.DataFrame.column_names() -> Iterable[str]Return an iterator yielding the column names.
method
altair.utils._dfi_types.DataFrame.get_chunks(n_chunks:int | None=None) -> Iterable[DataFrame]Return an iterator yielding the chunks.
method
altair.utils._dfi_types.DataFrame.get_column_by_name(name:str) -> ColumnReturn the column whose name is the indicated name.
class
altair.utils._dfi_types.DtypeKindInteger enum for data types.
func
altair.utils._transformed_data.get_facet_mapping(group:dict[str, Any], scope:Scope=()) -> FacetMappingCreate mapping from facet definitions to source datasets.
func
altair.utils._transformed_data.get_from_facet_mapping(scoped_dataset:tuple[str, Scope], facet_mapping:FacetMapping) -> tuple[str, Scope]Apply facet mapping to a scoped dataset.
func
altair.utils._transformed_data.get_group_mark_for_scope(vega_spec:dict[str, Any], scope:Scope) -> dict[str, Any] | NoneGet the group mark at a particular scope.
func
altair.utils._transformed_data.name_views(chart:ChartType, i:int=0, exclude:Iterable[str] | None=None) -> list[str]Name unnamed chart views.
func
altair.utils._vegafusion_data.compile_to_vegafusion_chart_state(vegalite_spec:dict[str, Any], local_tz:str) -> ChartStateCompile a Vega-Lite spec to a VegaFusion ChartState.
func
altair.utils._vegafusion_data.get_inline_table_names(vega_spec:dict[str, Any]) -> set[str]Get a set of the inline datasets names in the provided Vega spec.
func
altair.utils._vegafusion_data.get_inline_tables(vega_spec:dict[str, Any]) -> dict[str, DataFrameLike]Get the inline tables referenced by a Vega specification.
func
altair.utils._vegafusion_data.using_vegafusion() -> boolCheck whether the vegafusion data transformer is enabled.
func
altair.utils.core.merge_props_geom(feat:dict[str, Any]) -> dict[str, Any]Merge properties with geometry.
func
altair.utils.core.sanitize_geo_interface(geo:MutableMapping[Any, Any]) -> dict[str, Any]Sanitize a geo_interface to prepare it for serialization.
func
altair.utils.core.sanitize_narwhals_dataframe(data:nw.DataFrame[TIntoDataFrame]) -> nw.DataFrame[TIntoDataFrame]Sanitize narwhals.DataFrame for JSON serialization.
func
altair.utils.core.sanitize_pandas_dataframe(df:_PandasDataFrameT) -> _PandasDataFrameTSanitize a DataFrame to prepare it for serialization.
func
altair.utils.core.to_eager_narwhals_dataframe(data:IntoDataFrame) -> nw.DataFrame[Any]Wrap `data` in `narwhals.DataFrame`.
func
altair.utils.core.use_signature(tp:Callable[P, Any]) -> _MethodSignatureCopier[P]Use the signature and doc of ``tp`` for the decorated method ``cb``.
func
altair.utils.core.use_signature_func(tp:Callable[P, Any]) -> _FunctionSignatureCopier[P]Use the signature and doc of ``tp`` for the decorated function ``cb``.
class
altair.utils.data.MaxRowsErrorRaised when a data model has too many rows.
func
altair.utils.data.to_values(data:DataType) -> ToValuesReturnTypeReplace a DataFrame by a data model with values.
class
altair.utils.display.DisplayableA base display class for VegaLite v1/v2.
func
altair.utils.display.json_renderer_base(spec:dict[str, Any], str_repr:str, **options) -> DefaultRendererReturnTypeA renderer that returns a MIME type of application/json.
func
altair.utils.mimebundle.preprocess_embed_options(embed_options:dict) -> dictPreprocess embed options to a form compatible with Vega Embed.
class
altair.utils.plugin_registry.PluginEnablerContext manager for enabling plugins.
class
altair.utils.plugin_registry.PluginRegistryA registry for plugins.
method
altair.utils.plugin_registry.PluginRegistry.active() -> strReturn the name of the currently active plugin.
method
altair.utils.plugin_registry.PluginRegistry.enable(name:str | None=None, **options:Any) -> PluginEnabler[PluginT, R]Enable a plugin by name.
method
altair.utils.plugin_registry.PluginRegistry.get() -> partial[R] | Plugin[R] | NoneReturn the currently active plugin.
method
altair.utils.plugin_registry.PluginRegistry.options() -> dict[str, Any]Return the current options dictionary.
method
altair.utils.plugin_registry.PluginRegistry.register(name:str, value:PluginT | None) -> PluginT | NoneRegister a plugin by name and value.
func
altair.utils.save.set_inspect_format_argument(format:str | None, fp:str | Path | IO[Any], inline:bool) -> strInspect the format argument in the save function.
class
altair.utils.schemapi.ConditionLikeRepresents the wrapped state of a conditional encoding or property.
class
altair.utils.schemapi.SchemaBaseBase class for schema wrappers.
method
altair.utils.schemapi.SchemaBase.copy(deep:bool | Iterable[Any]=True, ignore:list[str] | None=None) -> SelfReturn a copy of the object.
method
altair.utils.schemapi.SchemaBase.from_dict(dct:dict[str, Any], validate:bool=True) -> TSchemaBaseConstruct class from a dictionary representation.
method
altair.utils.schemapi.SchemaBase.from_json(json_string:str, validate:bool=True, **kwargs:Any) -> ChartTypeInstantiate the object from a valid JSON string.
method
altair.utils.schemapi.SchemaBase.to_dict(validate:bool=True, *ignore:list[str] | None=None, *context:dict[str, Any] | None=None) -> dict[str, Any]Return a dictionary representation of the object.
class
altair.utils.schemapi.UndefinedTypeA singleton object for marking undefined parameters.
func
altair.utils.schemapi.is_undefined(obj:Any) -> TypeIs[UndefinedType]Type-safe singleton check for `UndefinedType`.
func
altair.utils.schemapi.with_property_setters(cls:type[TSchemaBase]) -> type[TSchemaBase]Decorator to add property setters to a Schema class.
class
altair.utils.selection.IntervalSelectionRepresents the state of an alt.selection_interval().
class
altair.vegalite.v6.api.ChainedWhenUtility class for ``when-then-otherwise`` conditions.
method
altair.vegalite.v6.api.ChainedWhen.then(statement:_StatementType, **kwds:Any) -> Then[_Conditions]Attach a statement to this predicate.
class
altair.vegalite.v6.api.ChartCreate a basic Altair/Vega-Lite chart.
method
altair.vegalite.v6.api.Chart.add_params(*params:Parameter) -> SelfAdd one or more parameters to the chart.
method
altair.vegalite.v6.api.Chart.add_selection(*params) -> Self'add_selection' is deprecated.
method
altair.vegalite.v6.api.Chart.from_dict(dct:dict[str, Any], validate:bool=True) -> _TSchemaBaseConstruct a ``Chart`` from a dictionary representation.
method
altair.vegalite.v6.api.Chart.interactive(name:str | None=None, bind_x:bool=True, bind_y:bool=True) -> SelfMake chart axes scales interactive.
method
altair.vegalite.v6.api.Chart.transformed_data(row_limit:int | None=None, exclude:Iterable[str] | None=None) -> DataFrameLike | NoneEvaluate a Chart's transforms.
class
altair.vegalite.v6.api.ConcatChartA chart with horizontally-concatenated facets.
method
altair.vegalite.v6.api.ConcatChart.add_params(*params:Parameter) -> SelfAdd one or more parameters to the chart.
method
altair.vegalite.v6.api.ConcatChart.add_selection(*selections) -> Self'add_selection' is deprecated.
method
altair.vegalite.v6.api.ConcatChart.interactive(name:str | None=None, bind_x:bool=True, bind_y:bool=True) -> SelfMake chart axes scales interactive.
method
altair.vegalite.v6.api.ConcatChart.transformed_data(row_limit:int | None=None, exclude:Iterable[str] | None=None) -> list[DataFrameLike]Evaluate a ConcatChart's transforms.
class
altair.vegalite.v6.api.FacetChartA Chart with layers within a single panel.
method
altair.vegalite.v6.api.FacetChart.add_params(*params:Parameter) -> SelfAdd one or more parameters to the chart.
method
altair.vegalite.v6.api.FacetChart.add_selection(*selections) -> Self'add_selection' is deprecated.
method
altair.vegalite.v6.api.FacetChart.interactive(name:str | None=None, bind_x:bool=True, bind_y:bool=True) -> SelfMake chart axes scales interactive.
method
altair.vegalite.v6.api.FacetChart.transformed_data(row_limit:int | None=None, exclude:Iterable[str] | None=None) -> DataFrameLike | NoneEvaluate a FacetChart's transforms.
class
altair.vegalite.v6.api.FacetMappingFacetMapping schema wrapper.
class
altair.vegalite.v6.api.HConcatChartA chart with horizontally-concatenated facets.
method
altair.vegalite.v6.api.HConcatChart.add_params(*params:Parameter) -> SelfAdd one or more parameters to the chart.
method
altair.vegalite.v6.api.HConcatChart.add_selection(*selections) -> Self'add_selection' is deprecated.
method
altair.vegalite.v6.api.HConcatChart.interactive(name:str | None=None, bind_x:bool=True, bind_y:bool=True) -> SelfMake chart axes scales interactive.
method
altair.vegalite.v6.api.HConcatChart.transformed_data(row_limit:int | None=None, exclude:Iterable[str] | None=None) -> list[DataFrameLike]Evaluate an HConcatChart's transforms.
class
altair.vegalite.v6.api.LayerChartA Chart with layers within a single panel.
method
altair.vegalite.v6.api.LayerChart.add_params(*params:Parameter) -> SelfAdd one or more parameters to the chart.
method
altair.vegalite.v6.api.LayerChart.add_selection(*selections) -> Self'add_selection' is deprecated.
method
altair.vegalite.v6.api.LayerChart.interactive(name:str | None=None, bind_x:bool=True, bind_y:bool=True) -> SelfMake chart axes scales interactive.
method
altair.vegalite.v6.api.LayerChart.transformed_data(row_limit:int | None=None, exclude:Iterable[str] | None=None) -> list[DataFrameLike]Evaluate a LayerChart's transforms.
class
altair.vegalite.v6.api.ParameterA Parameter object.
method
altair.vegalite.v6.api.Parameter.ref() -> dict[str, Any]'ref' is deprecated.
class
altair.vegalite.v6.api.RepeatChartA chart repeated across rows and columns with small changes.
method
altair.vegalite.v6.api.RepeatChart.add_params(*params:Parameter) -> SelfAdd one or more parameters to the chart.
method
altair.vegalite.v6.api.RepeatChart.add_selection(*selections) -> Self'add_selection' is deprecated.
method
altair.vegalite.v6.api.RepeatChart.interactive(name:str | None=None, bind_x:bool=True, bind_y:bool=True) -> SelfMake chart axes scales interactive.
method
altair.vegalite.v6.api.RepeatChart.transformed_data(row_limit:int | None=None, exclude:Iterable[str] | None=None) -> DataFrameLike | NoneEvaluate a RepeatChart's transforms.
class
altair.vegalite.v6.api.ThenUtility class for ``when-then-otherwise`` conditions.
class
altair.vegalite.v6.api.TopLevelMixinMixin for top-level chart objects such as Chart, LayeredChart, etc.
method
altair.vegalite.v6.api.TopLevelMixin.properties(**kwargs:Any) -> SelfSet top-level properties of the Chart.
method
altair.vegalite.v6.api.TopLevelMixin.serve(ip='127.0.0.1', port=8888, n_retries=50, files=None, jupyter_warning=True, open_browser=True, http_server=None, **kwargs) -> None'serve' is deprecated.
method
altair.vegalite.v6.api.TopLevelMixin.show() -> NoneDisplay the chart using the active renderer.
method
altair.vegalite.v6.api.TopLevelMixin.transform_extent(extent:str | FieldName, param:str | ParameterName) -> SelfAdd a :class:`ExtentTransform` to the spec.
method
altair.vegalite.v6.api.TopLevelMixin.transform_flatten(flatten:list[str | FieldName], as_:Optional[list[str | FieldName]]=Undefined) -> SelfAdd a :class:`FlattenTransform` to the schema.
method
altair.vegalite.v6.api.TopLevelMixin.transform_fold(fold:list[str | FieldName], as_:Optional[list[str | FieldName]]=Undefined) -> SelfAdd a :class:`FoldTransform` to the spec.
method
altair.vegalite.v6.api.TopLevelMixin.transform_sample(sample:int=1000) -> SelfAdd a :class:`SampleTransform` to the schema.
class
altair.vegalite.v6.api.VConcatChartA chart with vertically-concatenated facets.
method
altair.vegalite.v6.api.VConcatChart.add_params(*params:Parameter) -> SelfAdd one or more parameters to the chart.
method
altair.vegalite.v6.api.VConcatChart.add_selection(*selections) -> Self'add_selection' is deprecated.
method
altair.vegalite.v6.api.VConcatChart.interactive(name:str | None=None, bind_x:bool=True, bind_y:bool=True) -> SelfMake chart axes scales interactive.
method
altair.vegalite.v6.api.VConcatChart.transformed_data(row_limit:int | None=None, exclude:Iterable[str] | None=None) -> list[DataFrameLike]Evaluate a VConcatChart's transforms.
class
altair.vegalite.v6.api.WhenUtility class for ``when-then-otherwise`` conditions.
func
altair.vegalite.v6.api.binding(input:str, *autocomplete:Optional[str]=Undefined, *debounce:Optional[float]=Undefined, *element:Optional[str]=Undefined, *name:Optional[str]=Undefined, *placeholder:Optional[str]=Undefined) -> BindInputA generic binding.
func
altair.vegalite.v6.api.binding_checkbox(**kwargs:Any) -> BindCheckboxA checkbox binding.
func
altair.vegalite.v6.api.binding_radio(**kwargs:Any) -> BindRadioSelectA radio button binding.
func
altair.vegalite.v6.api.binding_range(**kwargs:Any) -> BindRangeA range binding.
func
altair.vegalite.v6.api.binding_select(**kwargs:Any) -> BindRadioSelectA select binding.
func
altair.vegalite.v6.api.concat(*charts:ConcatType, **kwargs:Any) -> ConcatChartConcatenate charts horizontally.
func
altair.vegalite.v6.api.graticule(**kwds:Any) -> GraticuleGeneratorGraticule generator.
func
altair.vegalite.v6.api.hconcat(*charts:ConcatType, **kwargs:Any) -> HConcatChartConcatenate charts horizontally.
func
altair.vegalite.v6.api.is_chart_type(obj:Any) -> TypeIs[ChartType]Return `True` if the object is an Altair chart.
func
altair.vegalite.v6.api.layer(*charts:LayerType, **kwargs:Any) -> LayerChart | FacetChartLayer multiple charts.
func
altair.vegalite.v6.api.repeat(repeater:Literal['row', 'column', 'repeat', 'layer']='repeat') -> RepeatRefTie a channel to the row or column within a repeated chart.
func
altair.vegalite.v6.api.selection_multi(**kwargs:Any) -> Parameter'selection_multi' is deprecated.
func
altair.vegalite.v6.api.selection_single(**kwargs:Any) -> Parameter'selection_single' is deprecated.
func
altair.vegalite.v6.api.sequence(start:Optional[float], stop:Optional[float | None]=None, step:Optional[float]=Undefined, as_:Optional[str]=Undefined, **kwds:Any) -> SequenceGeneratorSequence generator.
func
altair.vegalite.v6.api.sphere() -> SphereGeneratorSphere generator.
func
altair.vegalite.v6.api.value(value:Any, **kwargs:Any) -> _ValueSpecify a value for use in an encoding.
func
altair.vegalite.v6.api.vconcat(*charts:ConcatType, **kwargs:Any) -> VConcatChartConcatenate charts vertically.
func
altair.vegalite.v6.compiler.vl_convert_compiler(vegalite_spec:dict) -> dictVega-Lite to Vega compiler that uses vl-convert.
class
altair.vegalite.v6.display.VegaLiteAn IPython/Jupyter display class for rendering VegaLite 6.
func
altair.vegalite.v6.display.vegalite(spec:dict, validate:bool=True) -> NoneRender and optionally validate a VegaLite 6 spec.
class
altair.vegalite.v6.schema._config.AreaConfigKwds:class:`altair.AreaConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.AutoSizeParamsKwds:class:`altair.AutoSizeParams` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.AxisConfigKwds:class:`altair.AxisConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.AxisResolveMapKwds:class:`altair.AxisResolveMap` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.BarConfigKwds:class:`altair.BarConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.BindCheckboxKwds:class:`altair.BindCheckbox` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.BindDirectKwds:class:`altair.BindDirect` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.BindInputKwds:class:`altair.BindInput` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.BindRadioSelectKwds:class:`altair.BindRadioSelect` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.BindRangeKwds:class:`altair.BindRange` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.BoxPlotConfigKwds:class:`altair.BoxPlotConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.BrushConfigKwds:class:`altair.BrushConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ConfigKwds:class:`altair.Config` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.DateTimeKwds:class:`altair.DateTime` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.DerivedStreamKwds:class:`altair.DerivedStream` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ErrorBandConfigKwds:class:`altair.ErrorBandConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ErrorBarConfigKwds:class:`altair.ErrorBarConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.FormatConfigKwds:class:`altair.FormatConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.GeoJsonFeatureKwds:class:`altair.GeoJsonFeature` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.GradientStopKwds:class:`altair.GradientStop` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.HeaderConfigKwds:class:`altair.HeaderConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.LegendConfigKwds:class:`altair.LegendConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.LegendResolveMapKwds:class:`altair.LegendResolveMap` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.LineConfigKwds:class:`altair.LineConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.LineStringKwds:class:`altair.LineString` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.LinearGradientKwds:class:`altair.LinearGradient` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.LocaleKwds:class:`altair.Locale` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.MarkConfigKwds:class:`altair.MarkConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.MergedStreamKwds:class:`altair.MergedStream` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.MultiLineStringKwds:class:`altair.MultiLineString` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.MultiPointKwds:class:`altair.MultiPoint` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.MultiPolygonKwds:class:`altair.MultiPolygon` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.NumberLocaleKwds:class:`altair.NumberLocale` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.OverlayMarkDefKwds:class:`altair.OverlayMarkDef` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.PointKwds:class:`altair.Point` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.PolygonKwds:class:`altair.Polygon` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ProjectionConfigKwds:class:`altair.ProjectionConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ProjectionKwds:class:`altair.Projection` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.RadialGradientKwds:class:`altair.RadialGradient` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.RangeConfigKwds:class:`altair.RangeConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.RectConfigKwds:class:`altair.RectConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ResolveKwds:class:`altair.Resolve` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ScaleConfigKwds:class:`altair.ScaleConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ScaleResolveMapKwds:class:`altair.ScaleResolveMap` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.SelectionConfigKwds:class:`altair.SelectionConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.StepKwds:class:`altair.Step` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.StyleConfigIndexKwds:class:`altair.StyleConfigIndex` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.TickConfigKwds:class:`altair.TickConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.TimeIntervalStepKwds:class:`altair.TimeIntervalStep` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.TimeLocaleKwds:class:`altair.TimeLocale` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.TitleConfigKwds:class:`altair.TitleConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.TitleParamsKwds:class:`altair.TitleParams` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.TooltipContentKwds:class:`altair.TooltipContent` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ViewBackgroundKwds:class:`altair.ViewBackground` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._config.ViewConfigKwds:class:`altair.ViewConfig` ``TypedDict`` wrapper.
class
altair.vegalite.v6.schema._typing.RowColKwdsA `Generic`_ two-item ``dict``.
class
altair.vegalite.v6.schema._typing.ValueA `Generic`_ single item ``dict``.
func
altair.vegalite.v6.schema._typing.is_color_hex(obj:Any) -> TypeIs[ColorHex]Return ``True`` if the object is a hexadecimal color code.
class
altair.vegalite.v6.schema.mixins.ConfigMethodMixinA mixin class that defines config methods.
class
altair.vegalite.v6.schema.mixins.MarkMethodMixinA mixin class that defines mark methods.
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_arc(**kwds:Any) -> SelfSet the chart's mark to 'arc' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_area(**kwds:Any) -> SelfSet the chart's mark to 'area' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_bar(**kwds:Any) -> SelfSet the chart's mark to 'bar' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_boxplot(**kwds:Any) -> SelfSet the chart's mark to 'boxplot' (see :class:`BoxPlotDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_circle(**kwds:Any) -> SelfSet the chart's mark to 'circle' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_errorbar(**kwds:Any) -> SelfSet the chart's mark to 'errorbar' (see :class:`ErrorBarDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_geoshape(**kwds:Any) -> SelfSet the chart's mark to 'geoshape' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_image(**kwds:Any) -> SelfSet the chart's mark to 'image' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_line(**kwds:Any) -> SelfSet the chart's mark to 'line' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_point(**kwds:Any) -> SelfSet the chart's mark to 'point' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_rect(**kwds:Any) -> SelfSet the chart's mark to 'rect' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_rule(**kwds:Any) -> SelfSet the chart's mark to 'rule' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_square(**kwds:Any) -> SelfSet the chart's mark to 'square' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_text(**kwds:Any) -> SelfSet the chart's mark to 'text' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_tick(**kwds:Any) -> SelfSet the chart's mark to 'tick' (see :class:`MarkDef`).
method
altair.vegalite.v6.schema.mixins.MarkMethodMixin.mark_trail(**kwds:Any) -> SelfSet the chart's mark to 'trail' (see :class:`MarkDef`).
class
altair.vegalite.v6.theme.VegaThemeImplementation of a builtin vega theme.
func
sphinxext.altairgallery.populate_examples(**kwds:Any) -> list[dict[str, Any]]Iterate through Altair examples and extract code.
func
sphinxext.altairgallery.save_example_pngs(examples:list[dict[str, Any]], image_dir:Path, make_thumbnails:bool=True) -> NoneSave example pngs and (optionally) thumbnails.
class
sphinxext.code_ref.PyScriptDirectivePlaceholder for non-theme related directive.
class
sphinxext.code_ref.ThemeDirectiveTheme preview directive.
class
sphinxext.schematable.AltairObjectTableDirectiveDirective for building a table of attribute descriptions.
func
sphinxext.schematable.add_class_def(node:nodes.paragraph, classDef:str) -> nodes.paragraphAdd reference on classDef to node.
func
sphinxext.schematable.add_text(node:nodes.paragraph, text:str) -> nodes.paragraphAdd text with inline code to node.
func
sphinxext.schematable.build_row(item:tuple[str, dict[str, Any]], rootschema:dict[str, Any] | None) -> nodes.rowReturn nodes.row with property description.
func
sphinxext.schematable.prepare_table_header(titles:Sequence[str], widths:Sequence[float]) -> tuple[nodes.table, nodes.tbody]Build docutil empty table.
func
sphinxext.schematable.type_description(schema:dict[str, Any]) -> strReturn a concise type description for the given schema.
func
sphinxext.utils.create_generic_image(filename:Path, shape:tuple[float, float]=(200, 300), gradient:bool=True) -> NoneCreate a generic image.
func
sphinxext.utils.dict_hash(dct:dict[Any, Any]) -> AnyReturn a hash of the contents of a dictionary.
func
sphinxext.utils.get_docstring_and_rest(filename:str | Path) -> tuple[str, str | None, str, int, bool]Separate ``filename`` content between docstring and the rest.
この情報について
掲載しているシグネチャは vega/altair の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。