Skip to content

Conversation

midichef
Copy link
Contributor

@midichef midichef commented Sep 7, 2025

Closes #2752.

To demonstrate, make a file xcols.csv:

x1,x2,y
0,2,1
0,4,2
4,1,3
5,1,5
5,1,3

Use ! to make x1 and x2 keycols . Make all columns numeric with #. Then plot y with .
Add a refline with: gx 0 Enter. On current visidata you'll get the error must have 2 x values, had 1 values: 0.

One commit in this PR turns off the check that gave that error.

The other commit changes the error checking when erasing x and y reflines. In current visidata, each axis was missing a check that was performed for the other one.

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.

Feature request: Support refline for categorical plots

1 participant