-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resetting strokecolor
to nothing
causes error
#174
Comments
nothing
causes errorstrokecolor
to nothing
causes error
This looks like a pure GLMakie issue, unfortunately. Are you still experiencing this problem? |
Hi @asinghvi17 Yes, this issue still occurs for me, using the following package versions: [c9ce4bd3] ArchGDAL v0.10.4
[e9467ef8] GLMakie v0.9.11
[62cb38b5] GeoDataFrames v0.3.8
[db073c08] GeoMakie v0.6.5 |
In Makie v0.21 (GLMakie v0.10) this is caught on plotting, but I don't think there's a good way to catch it otherwise. In general colors should not have an input of I would recommend opening an issue on Makie with this, since it's not something we can solve here. |
Thank you, I'll try |
Hello,
When calling
poly!()
, ifnothing
is passed tostrokecolor
, it results in the error (down below) being thrown.Minimum Working Example to replicate the issue (although you'll have to have a GeoJSON file handy).
Setting
strokecolor
to:black
or some other specific value works.The context here is that a GLMakie interface where the user is able to define some properties of interest, which we then highlight on the map by adjusting the locations' stroke color. Where the view is reset, we want to remove the strokecolors.
If
nothing
is not an valid value to pass in, I think it should be caught.Status `C:\projects\AIMS\ADRIA.jl\sandbox\Manifest.toml` [e9467ef8] GLMakie v0.8.6 [db073c08] GeoMakie v0.5.1
The text was updated successfully, but these errors were encountered: