From b486f101b4d037e37bb3c5f5df6e8697bbcb5701 Mon Sep 17 00:00:00 2001 From: dangotbanned <125183946+dangotbanned@users.noreply.github.com> Date: Mon, 9 Sep 2024 18:55:26 +0100 Subject: [PATCH] docs: Add summary for `ThemeConfig` Based on: - https://vega.github.io/vega-lite/docs/config.html - https://altair-viz.github.io/user_guide/configuration.html --- altair/vegalite/v5/schema/_config.py | 2 +- tools/generate_schema_wrapper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/altair/vegalite/v5/schema/_config.py b/altair/vegalite/v5/schema/_config.py index b4a89fd84..22bab0032 100644 --- a/altair/vegalite/v5/schema/_config.py +++ b/altair/vegalite/v5/schema/_config.py @@ -6731,7 +6731,7 @@ class ViewConfigKwds(TypedDict, total=False): class ThemeConfig(TypedDict, total=False): """ - Placeholder doc. + Top-Level Configuration ``TypedDict`` for creating a consistent theme. Parameters ---------- diff --git a/tools/generate_schema_wrapper.py b/tools/generate_schema_wrapper.py index e50eb1286..daf0d3704 100644 --- a/tools/generate_schema_wrapper.py +++ b/tools/generate_schema_wrapper.py @@ -228,7 +228,7 @@ def configure_{prop}(self, *args, **kwargs) -> Self: CONFIG_TYPED_DICT: Final = ''' class ThemeConfig(TypedDict, total=False): - """Placeholder doc. + """Top-Level Configuration ``TypedDict`` for creating a consistent theme. {doc}""" {typed_dict_args}