Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion altair/sphinxext/altairplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def html_visit_altair_plot(self, node):
raise ValueError("Invalid chart: {0}".format(node["code"]))
actions = node["links"]

# TODO: add an option to save spects to file & load from there.
# TODO: add an option to save chart specs to file & load from there.
# TODO: add renderer option

# Write spec to a *.vl.json file
Expand Down
4 changes: 2 additions & 2 deletions altair/sphinxext/schematable.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def build_row(item):


def build_schema_tabel(items):
"""Return schema table of items (iterator of prop, schema.item, requred)"""
"""Return schema table of items (iterator of prop, schema.item, required)"""
table, tbody = prepare_table_header(
["Property", "Type", "Description"], [10, 20, 50]
)
Expand All @@ -145,7 +145,7 @@ def build_schema_tabel(items):


def select_items_from_schema(schema, props=None):
"""Return iterator (prop, schema.item, requred) on prop, return all in None"""
"""Return iterator (prop, schema.item, required) on prop, return all in None"""
properties = schema.get("properties", {})
required = schema.get("required", [])
if not props:
Expand Down
2 changes: 1 addition & 1 deletion altair/utils/tests/test_mimebundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def vega_spec():


def test_vegalite_to_vega_mimebundle(require_altair_saver, vegalite_spec, vega_spec):
# temporay fix for https://github.com/vega/vega-lite/issues/7776
# temporary fix for https://github.com/vega/vega-lite/issues/7776
def delete_none(axes):
for axis in axes:
for key, value in list(axis.items()):
Expand Down
2 changes: 1 addition & 1 deletion doc/user_guide/display_frontends.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ JSON). The type signature of a renderer is thus::
def renderer(spec: dict) -> dict:
...

Altair's default ``html`` rendeer returns a cross-platform HTML representation using
Altair's default ``html`` renderer returns a cross-platform HTML representation using
the ``"text/html"`` mimetype; schematically it looks like this::

def default_renderer(spec):
Expand Down