Ask Your Question
2

What does the error "discrete value supplied to continuous scale" mean when trying to convert a boxplot to a violin plot?

asked 2022-03-14 11:00:00 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-01-04 15:00:00 +0000

qstack gravatar image

The error "discrete value supplied to continuous scale" means that the data being used to create the violin plot has a categorical or discrete variable being treated as a continuous variable. This can happen when trying to create a violin plot using data that is not continuous, such as data with categorical or binary values. To fix the error, the data should either be transformed into a continuous variable or the plot should be created using a different type of plot that is more appropriate for the type of data being used.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-03-14 11:00:00 +0000

Seen: 1 times

Last updated: Jan 04 '23