JuliaGraphics / Immerse.jl

Dive deeper into your data with interactive graphics
Other
89 stars 13 forks source link

fix crash when zooming on a plot without ticks #74

Closed jonathanBieler closed 7 years ago

jonathanBieler commented 7 years ago

Currently zooming with a plot that doesn't have ticks (or custom axis) makes Gtk crash, e.g.

 p = plot(
           layer(x=rand(100),Geom.histogram),
           Guide.XTicks(ticks=nothing)
       )

This is probably not the best way to fix the issue (the view changes a bit when selecting the zooming tool) but at least it doesn't crash.

timholy commented 7 years ago

Thanks!