Skip to content

Fixes explore click tool bug with categorical variables#79

Open
rfballantyne wants to merge 7 commits into
mainfrom
rebeba/categorical-variables
Open

Fixes explore click tool bug with categorical variables#79
rfballantyne wants to merge 7 commits into
mainfrom
rebeba/categorical-variables

Conversation

@rfballantyne

@rfballantyne rfballantyne commented Dec 10, 2024

Copy link
Copy Markdown
Collaborator

Fixes the click tool so it can identify culverts for categorical variables.

I recommend viewing the code files for this PR with whitespace changes turned off.

Note: this solution does rely on hard-coding which column index each variable is assigned to in the histogram. If we add a fish species or get data points for owner types not currently represented in the data (for example: Port), we would need to update these lines.

You can find videos displaying the functionality for each categorical variable here.

How to turn off whitespace only changes when reviewing the code:
Screenshot 2024-12-10 at 1 04 47 AM

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.

Click tool in Explore doesn't work for categorical variables on X or Y axes

1 participant