Skip to content

Commit

Permalink
Update numpy dep to be numpy>=1.20, <2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWags committed Dec 18, 2024
1 parent 27bbadf commit e9b3811
Show file tree
Hide file tree
Showing 15 changed files with 776,913 additions and 2 deletions.
119,390 changes: 119,390 additions & 0 deletions data/movies_2.json

Large diffs are not rendered by default.

9,199 changes: 9,199 additions & 0 deletions data/orgs.json

Large diffs are not rendered by default.

28,676 changes: 28,676 additions & 0 deletions data/quadratic.json

Large diffs are not rendered by default.

116,464 changes: 116,464 additions & 0 deletions data/upset_state_data_2024-09-10(1).json

Large diffs are not rendered by default.

114,640 changes: 114,640 additions & 0 deletions data/upset_state_data_2024-09-10(2).json

Large diffs are not rendered by default.

115,499 changes: 115,499 additions & 0 deletions data/upset_state_data_2024-09-10(3).json

Large diffs are not rendered by default.

116,009 changes: 116,009 additions & 0 deletions data/upset_state_data_2024-09-10(4).json

Large diffs are not rendered by default.

116,343 changes: 116,343 additions & 0 deletions data/upset_state_data_2024-09-10(5).json

Large diffs are not rendered by default.

28,676 changes: 28,676 additions & 0 deletions data/upset_state_data_2024-09-10(6).json

Large diffs are not rendered by default.

9,199 changes: 9,199 additions & 0 deletions data/upset_state_data_2024-09-10(8).json

Large diffs are not rendered by default.

2,787 changes: 2,787 additions & 0 deletions data/upset_state_data_2024-09-10(9).json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ no_implicit_reexport = true

[project]
name = "upset-alttxt"
version = "0.4.5"
version = "0.4.6"
description = "Generates alt text for UpSet plots"
readme = "README.md"
requires-python = ">=3.8"
dependencies = ["numpy>=2.1.1", "scipy>=1.14.1", "pydantic>=2.9.1"]
dependencies = ["numpy>=1.20,<2.0.0", "scipy>=1.14.1", "pydantic>=2.9.1"]
5 changes: 5 additions & 0 deletions src/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"techniqueDescription": "This is an UpSet plot that visualizes set intersection. To learn about UpSet plots, visit https://upset.app.",
"shortDescription": "This is an UpSet plot which shows the intersections of 6 sets. All major intersections involve the set Comedy, and Action. The largest intersection is Action, and Adventure, with 101 elements. Other large intersections also involve Comedy and Action. ",
"longDescription": "# UpSet Introduction\nThis is an UpSet plot that visualizes set intersection. To learn about UpSet plots, visit https://upset.app.\n\n# Dataset Properties\nThe dataset contains 17 sets and 6303 elements, of which 6 sets are shown in the plot.\n\n# Set Properties\nThe set sizes are diverging a lot, ranging from 127 to 1200. The largest set is Comedy with 1200 elements, followed by Action with 503, Adventure with 283, Children with 251, Crime with 211, and Documentary with 127.\n\n# Intersection Properties\nThe plot is sorted by size in descending order. There are 24 non-empty intersections, all of which are shown in the plot. The largest 5 intersections are Just the empty inter (1777), Just Comedy (1003), Just Action (283), Just Crime (131), and Just Documentary (123).\n\n# Statistical Information\nThe average intersection size is 161, and the median is 31. The 90th percentile is 283, and the 10th percentile is 3. The largest set, Comedy, is present in 45.8% of all non-empty intersections. The smallest set, Documentary, is present in 8.3% of all non-empty intersections.\n\n# Trend Analysis\n The intersection sizes peak at a value of 1777 and then drastically flatten down to 1. The empty intersection is present with a size of 1777. An all set intersection is not present. The individual set intersections are large in size. The low degree set intersections lie in medium sized intersections. The medium degree set intersections can be seen among small sized intersections. No high order intersections are present.\n\n"
}
5 changes: 5 additions & 0 deletions src/simpsons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"techniqueDescription": "This is an UpSet plot that visualizes set intersection. To learn about UpSet plots, visit https://upset.app.",
"shortDescription": "This is an UpSet plot which shows the intersections of 6 sets. All major intersections involve the set Male, and School. The largest intersection is School, and Male, with 3 elements. Other large intersections also involve Duff Fan, Male, and Power Plant. ",
"longDescription": "# UpSet Introduction\nThis is an UpSet plot that visualizes set intersection. To learn about UpSet plots, visit https://upset.app.\n\n# Dataset Properties\nThe dataset contains 6 sets and 44 elements, of which 6 sets are shown in the plot.\n\n# Set Properties\nThe set sizes are diverging a lot, ranging from 3 to 18. The largest set is Male with 18 elements, followed by School with 6, Duff Fan with 6, Evil with 6, Power Plant with 5, and Blue Hair with 3.\n\n# Intersection Properties\nThe plot is sorted by size in descending order. There are 12 non-empty intersections, all of which are shown in the plot. The largest 5 intersections are School, and Male (3), Just the empty inter (3), Just Male (3), Duff Fan, Male, and Power Plant (3), and Evil, and Male (2).\n\n# Statistical Information\nThe average intersection size is 2, and the median is 2. The 90th percentile is 3, and the 10th percentile is 1. The largest set, Male, is present in 75.0% of all non-empty intersections. The smallest set, Blue Hair, is present in 16.7% of all non-empty intersections.\n\n# Trend Analysis\n The intersection sizes peak at a value of 3 and then drastically flatten down to 1. The empty intersection is present with a size of 3. An all set intersection is not present. The individual set intersections are large in size. The low degree set intersections lie in medium and largest sized intersections. The medium degree set intersections can be seen among small sized intersections. No high order intersections are present.\n\n"
}
19 changes: 19 additions & 0 deletions src/test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"intersection_trend_analysis": " The intersection sizes peak at a value of 1777 and then drastically flatten down to 1.",
"set_divergence": "diverging a lot",
"largest_factor": 1,
"set_size": { "set_divergence": "diverging a lot" },
"intersection_degree": {
"individual_set_presence": " The individual set intersections are large in size.",
"low_set_presence": " The low degree set intersections lie in medium sized intersections.",
"medium_set_presence": " The medium degree set intersections can be seen among small sized intersections.",
"high_set_presence": " No high order intersections are present."
},
"special_intersections": {
"no_set": " The empty intersection is present with a size of 1777.",
"all_set": " An all set intersection is not present."
},
"intersection_size_distribution": {
"trend": " The intersection sizes peak at a value of 1777 and then drastically flatten down to 1."
}
}

0 comments on commit e9b3811

Please sign in to comment.