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

Share y axis between "density" and "colours used" plot, but not main plot #75

Merged
merged 7 commits into from
Dec 2, 2021

Conversation

edwardchalstrey1
Copy link
Member

@edwardchalstrey1 edwardchalstrey1 commented Nov 25, 2021

This PR does

Fixes #64

The scatter plot tests are updated because they now have the correct y axis on the main plots.

The choropleth tests are also updated however, because the y ticks on the "Colours used" plots are now different, see screenshots below.

Also updated to python 3.9.9 because GH actions was having a problem with 3.9.8 (as seen in this issue) and upgrading to 3.9.9 seems to work fine for our purposes - I updated the poetry files to match.

This PR does not

Contain a solution for #63

The expected_meta_hist_scatterplot_bin_False test is still showing a faulty plot, because the "Colours used" plot is still missing for bin being set to false. I have updated it here anyway, since it is now coming out different from before. @rolyp I'll aim to work on a separate branch for #76 and #63 next since these issues related to the colour scale are related, but I think it makes sense to merge these changes first.

Also whilst this change makes the y ticks for the colours used plot a little neater, it doesn't complete #58

@edwardchalstrey1 edwardchalstrey1 changed the title Second attempt y axis trouble Share y axis between "density" and "colours used" plot, but not main plot Nov 26, 2021
@edwardchalstrey1
Copy link
Member Author

edwardchalstrey1 commented Nov 26, 2021

Test changes choropleth

The one without the extent has the same change

Old

Screenshot 2021-11-26 at 14 54 36

New

Screenshot 2021-11-26 at 14 54 49

Test changes scatter

The no bin one still looks bad (see top comment)

Old

Screenshot 2021-11-26 at 14 58 14

New

Screenshot 2021-11-26 at 14 58 22

@edwardchalstrey1 edwardchalstrey1 marked this pull request as ready for review November 26, 2021 15:19
@edwardchalstrey1
Copy link
Member Author

@rolyp in the interest of time I'm going to merge this and focus on the remaining minimal completion goals in the remaining time I have before xmas leave

@edwardchalstrey1 edwardchalstrey1 merged commit 604d83b into develop Dec 2, 2021
@edwardchalstrey1 edwardchalstrey1 deleted the second-attempt-y-axis-trouble branch December 2, 2021 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sharing y axis between density chart and used color plots also affects main plot
1 participant