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

Change colours in 6.2: Axis manipulations #6

Open
ccamara opened this issue Nov 17, 2023 · 0 comments
Open

Change colours in 6.2: Axis manipulations #6

ccamara opened this issue Nov 17, 2023 · 0 comments
Labels
contents Teaching materials' content

Comments

@ccamara
Copy link
Member

ccamara commented Nov 17, 2023

It would be good if we manually forced the colours to be red and blue for Trump and Biden respectively, to allow better comparison and reduce cognitive dissonance.

Rationale

The notebook https://warwickcim.github.io/IM939_handbook/content/labs/Lab_6/IM939_Lab_6_2-AxisManipulation.html shows visualisations related to two political parties in the USA by using two plotting libraries: seaborn and altair and default colours, so students can compare how each library works.

  1. The way they assign colours (and order lists) is different, so what orange and blue represent in each plotting library is different
  2. Those political parties are usually associated to red and blue
@ccamara ccamara added the contents Teaching materials' content label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contents Teaching materials' content
Projects
None yet
Development

No branches or pull requests

1 participant