Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.