Skip to content
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

Gadfly get into endless loop #740

Closed
montyvesselinov opened this issue Nov 3, 2015 · 1 comment
Closed

Gadfly get into endless loop #740

montyvesselinov opened this issue Nov 3, 2015 · 1 comment

Comments

@montyvesselinov
Copy link

I am plotting small sets of data (3-4 entries) using the following lines

p = Gadfly.plot(Guide.title(wellname),
layer(x=tc, y=c, Geom.line, Theme(default_color=parse(Colors.Colorant, "blue"), line_width=3pt)),layer(x=td, y=d, Geom.point, Theme(default_color=parse(Colors.Colorant, "red"), default_point_size=4pt)))

the y's are in a very small range. Something like this

tc = [2009.0,2012.0,2015.0]
c = [5.000000176777371,5.000000176858355,5.000000177661828]

I think the code fails to compute the ticks on the vertical axis.

When I ctrl-c julia code I get this:

ERROR: InterruptException:
in optimize_ticks_typed at /Users/monty/.julia/v0.4/Gadfly/src/ticks.jl:118
in optimize_ticks at /Users/monty/.julia/v0.4/Gadfly/src/ticks.jl:63
in multilevel_ticks at /Users/monty/.julia/v0.4/Gadfly/src/ticks.jl:291
in apply_statistic at /Users/monty/.julia/v0.4/Gadfly/src/statistics.jl:891
in apply_statistics at /Users/monty/.julia/v0.4/Gadfly/src/statistics.jl:38
in render_prepare at /Users/monty/.julia/v0.4/Gadfly/src/Gadfly.jl:676
in render at /Users/monty/.julia/v0.4/Gadfly/src/Gadfly.jl:717
in vstack at /Users/monty/.julia/v0.4/Gadfly/src/Gadfly.jl:826
in plotmatches at /Users/monty/Julia/Mads.jl/src/MadsPlot.jl:178

I use julia 0.4

@tlnagy
Copy link
Member

tlnagy commented Sep 18, 2019

This seems to have been fixed at some point. Please re-open if you are still having this issue.

@tlnagy tlnagy closed this as completed Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants