Skip to content

Conversation

@MaxPMagee
Copy link

This change fixes #597 and #545, both to match the docs, and to make it more consistent with ggplot2 (it uses 'yintercept' and 'xintercept', which is why some docs do too), while maintaining backward compatibility with those who have used the 'x' or 'y' param, since that's all you could do to get it working previously.

Also toss a ValueError if neither x/y nor xintercept/yintercept are set when plotting (instead of ambiguous and unhelpful type comparison exception).

Looks like that makes this doc incorrect, though. Will fix that one next.

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.

geom_hline() does not work: TypeError: unorderable types: float() > NoneType()

2 participants