Skip to content

Commit

Permalink
Merge pull request #2633 from palewire/patch-10
Browse files Browse the repository at this point in the history
Top k charts aren't case studies and should go with other charts
  • Loading branch information
mattijn authored Jul 2, 2022
2 parents 677b00f + f01dd9d commit 9665525
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit 9665525

Please sign in to comment.