Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

BoundsError with violin and boxplot using Data #60

Open
ValdarT opened this issue Feb 10, 2019 · 1 comment
Open

BoundsError with violin and boxplot using Data #60

ValdarT opened this issue Feb 10, 2019 · 1 comment

Comments

@ValdarT
Copy link

ValdarT commented Feb 10, 2019

Trying to use boxplot or violin with Data, for example:

iris = RDatasets.dataset("datasets", "iris")
boxplot(Data(iris), :SepalLength)

gives BoundsError.

It works fine if values for x are added manually, e.g.:

boxplot(Data(iris), fill(1,150), :SepalLength)
@piever
Copy link
Member

piever commented Mar 13, 2019

I see, so the idea is that if there is no x data, it should be default to a constant variable equal to 1? See #66

@sethaxen sethaxen mentioned this issue Mar 6, 2020
17 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants