Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top k charts aren't case studies and should go with other charts #2633

Merged
merged 3 commits into from
Jul 2, 2022
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
4 changes: 2 additions & 2 deletions 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: case studies
# category: other charts
import altair as alt
from vega_datasets import data

Expand All @@ -24,4 +24,4 @@
sort=[alt.SortField('IMDB_Rating', order='descending')]
).transform_filter(
(alt.datum.rank < 10)
)
)
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: case studies
# category: other charts
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: case studies
# category: other charts
import altair as alt
from vega_datasets import data

Expand Down