Skip to content

Conversation

thomasp85
Copy link
Member

When I wrote out ply, I inadvertently dropped support for ordered factors. This is such a niche data structure that it didn't set of any alarms, but I noticed it when I wanted stat_contour_filled() to return levels as ordered.

This PR fixes the regression by not converting ordered factors into factors when binding data.frames

@thomasp85 thomasp85 added this to the ggplot2 3.3.0 milestone Jan 8, 2020
@thomasp85 thomasp85 requested a review from clauswilke January 8, 2020 20:52
@clauswilke
Copy link
Member

Can you add a unit test for this case?

@thomasp85
Copy link
Member Author

sure thing 🙂

@thomasp85 thomasp85 merged commit 758bc59 into tidyverse:v3.3.0-rc Jan 9, 2020
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.

2 participants