Skip to content

Commit 553edab

Browse files
authored
Integrate graths into API (#4)
* add: new graph methods to api config * fix: scale workflows
1 parent b532a12 commit 553edab

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,5 @@ cython_debug/
164164

165165
.DS_Store
166166

167+
*.DS_Store
168+
.DS_Store

pinkbombs/config.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,17 @@
77
"function": pb.make_area_single_chart,
88
"parser": pd.read_csv,
99
"arguments": ['Year', 'Tons of wild salmon catch in Atlantic waters', 'Wild Altantic salmon collapse']
10+
},
11+
"hyper-growth": {
12+
"filename": "hyper_growth_salmon_farming_1.2.csv",
13+
"function": pb.make_area_order_chart,
14+
"parser": pd.read_csv,
15+
"arguments": ['Year', 'Tonnes - live weight', 'Country', 'Hyper-growth in salmon farming', True]
16+
},
17+
"top-10": {
18+
"filename": "top_10_countries_producing_1.3.csv",
19+
"function": pb.make_bar_chart,
20+
"parser": pd.read_csv,
21+
"arguments": ['Tons', 'Country', '\% of total', 'Top 10 countries producing salmon (2021)', 'Tonnes of farmed salmon produced',]
1022
}
1123
}

0 commit comments

Comments
 (0)