Skip to content
2 changes: 1 addition & 1 deletion altair/examples/beckers_barley_wrapped_facet.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This is the Altair replicate of `the VegaLite version <https://vega.github.io/vega-lite/docs/facet.html#facet-full>`_
demonstrating the usage of `columns` argument to create wrapped facet.
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/boxplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
which represents the convention of extending the whiskers
to the furthest points within 1.5 * IQR from the first and third quartile.
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/candlestick_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
in the summer of 2009. The thick bar represents the opening and closing prices,
while the thin bar shows intraday high and low prices; if the index closed higher on a given day, the bars are colored green rather than red.
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/comet_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
A more elaborate example and explanation of creating comet charts in Altair
is shown in `this blogpost <https://medium.com/de-dataverbinders/comet-charts-in-python-visualizing-statistical-mix-effects-and-simpsons-paradox-with-altair-6cd51fb58b7c>`_.
"""
# category: other charts
# category: advanced calculations

import altair as alt
import vega_datasets
Expand Down
2 changes: 1 addition & 1 deletion altair/examples/errorbars_with_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The confidence intervals are computed internally in vega by a non-parametric
`bootstrap of the mean <https://github.com/vega/vega-statistics/blob/master/src/bootstrapCI.js>`_.
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/errorbars_with_std.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This example shows how to show error bars with standard deviation using crop yields data of different
in the years of 1930s.
"""
# category: other charts
# category:advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/gantt_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-----------------
This example shows how to make a simple Gantt chart.
"""
# category: other charts
# category: advanced calculations
import altair as alt
import pandas as pd

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/isotype.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Inspired by `Only An Ocean Between, 1943 <http://www.thomwhite.co.uk/?p=1303>`_. Population Live Stock, p.13.
This is adapted from Vega-Lite example https://vega.github.io/editor/#/examples/vega-lite/isotype_bar_chart
'''
# category: other charts
# category: advanced calculations
import altair as alt
import pandas as pd

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/isotype_emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
marks rather than custom SVG paths (see https://altair-viz.github.io/gallery/isotype.html).
This is adapted from Vega-Lite example https://vega.github.io/vega-lite/examples/isotype_bar_chart_emoji.html.
'''
# category: other charts
# category:advanced calculations
import altair as alt
import pandas as pd

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/isotype_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
------------
This example is a grid of isotype figures.
"""
# category: other charts
# category: advanced calculations
import altair as alt
import pandas as pd

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/layered_chart_with_dual_axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
----------------------------
This example shows how to create a second independent y axis.
"""
# category: other charts
# category: advanced calculations

import altair as alt
from vega_datasets import data
Expand Down
2 changes: 1 addition & 1 deletion altair/examples/normed_parallel_coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
where the y-axis shows the value after min-max rather than the raw value. It's a
simplified Altair version of `the VegaLite version <https://vega.github.io/vega-lite/examples/parallel_coordinate.html>`_
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data
from altair import datum
Expand Down
2 changes: 1 addition & 1 deletion altair/examples/parallel_coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
suitable representation.
This example shows a parallel coordinates chart with the Iris dataset.
"""
# category: other charts
# category: advanced calculations

import altair as alt
from vega_datasets import data
Expand Down
2 changes: 1 addition & 1 deletion altair/examples/ranged_dot_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---------------
This example shows a ranged dot plot to convey changing life expectancy for the five most populous countries (between 1955 and 2000).
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/ridgeline_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
suitable representation.

"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/sorted_error_bars_with_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
=============================================
This example shows how to show error bars using confidence intervals, while also sorting the y-axis based on x-axis values.
"""
# category: other charts
# category: advanced calculations

import altair as alt
from vega_datasets import data
Expand Down
2 changes: 1 addition & 1 deletion altair/examples/stem_and_leaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
------------------
This example shows how to make a stem and leaf plot.
"""
# category: other charts
# category: advanced calculations
import altair as alt
import pandas as pd
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion altair/examples/top_k_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
the Top items of a long list of items in decreasing order.
Here we sort the top 10 highest ranking movies of IMDB.
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/top_k_letters.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
top K categories by number of entries. In this case, we rank the characters in
the first paragraph of Dickens' *A Tale of Two Cities* by number of occurances.
"""
# category: other charts
# category: advanced calculations
import altair as alt
import pandas as pd
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion altair/examples/top_k_with_others.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
to display the top-k directors by average worldwide gross while grouping the
remaining directors as 'All Others'.
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/violin_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-----------
This example shows how to make a Violin Plot using Altair's density transform.
"""
# category: other charts
# category: advanced calculations
import altair as alt
from vega_datasets import data

Expand Down
2 changes: 1 addition & 1 deletion altair/examples/wilkinson-dot-plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
------------------
An example of a `Wilkinson Dot Plot <https://en.wikipedia.org/wiki/Dot_plot_(statistics)>`_
"""
# category: other charts
# category: advanced calculations

import altair as alt
import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions altair/sphinxext/altairgallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def main(app):
"Tables": [],
"Maps": [],
"Interactive Charts": [],
"Advanced Calculations": [],
"Case Studies": [],
"Other Charts": [],
}
Expand Down