Skip to content
New issue

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

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

Already on GitHub? # to your account

writte some scripts to create plots from the survey data #41

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
add config for colors
Alex Mboutchouang committed Apr 25, 2022
commit 05ad47b69436b3ace514bbec68c6c62dfeee60d5
56 changes: 56 additions & 0 deletions scripts/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
import os


data_path = os.path.join(os.path.abspath(os.path.dirname(os.path.dirname(__file__))), "src", "res", "survey.yaml")
plot_dir = os.path.join(os.path.abspath(os.path.dirname(os.path.dirname(__file__))), "images")

COLORS = {
"Python": "darkgoldenrod",
"Java": "orange",
"JavaScript": "purple",
"C#": "khaki",
"C/C++": "mediumblue",
"PHP": "indianred",
"R": "darkorange",
"TypeScript": "darkgreen",
"Objective-C": "firebrick",
"Swift": "darkred",
"Matlab": "antiquewhite",
"Kotlin": "tomato",
"Go": "lightslategray",
"Rust": "springgreen",
"Ruby": "grey",
"VBA": "olivedrab",
"Ada": "blueviolet",
"Scala": "brown",
"Dart": "maroon",
"Abap": "blue",
"Visual Basic": "papayawhip",
"Lua": "darkblue",
"Groovy": "limegreen",
"Perl": "lightseagreen",
"Julia": "darkmagenta",
"Haskell": "turquoise",
"Cobol": "lavender",
"React.js": "darkolivegreen",
"jQuery": "violet",
"Express": "bisque",
"Angular": "navajowhite",
"Vue.js": "greenyellow",
"ASP.NET Core": "lightgreen",
"Flask": "goldenrod",
"ASP.NET": "darkslateblue",
"Django": "lightcoral",
"Spring": "sandybrown",
"Angular.js": "darkgray",
"Laravel": "mistyrose",
"Ruby on Rails": "tan",
"Gatsby": "rosybrown",
"FastAPI": "saddlebrown",
"Symfony": "lavenderblush",
"Svelte": "cadetblue",
"Drupal": "saddlebrown",
"Odoo": "orange",
"BackboneJS": "mediumseagreen",
"OWL (Odoo Web Library)": "lightgray"
}