SimplePlots.jl icon indicating copy to clipboard operation
SimplePlots.jl copied to clipboard

type SimplePlot has no field id

Open gnadt opened this issue 5 years ago • 4 comments

] add https://github.com/djsegal/SimplePlots.jl using SimplePlots scatter(rand(10), label="Scatter", color=4, xlabel="x", markersize=6)

type SimplePlot has no field id getproperty(::SimplePlots.SimplePlot, ::Symbol) at Base.jl:33 displayinplotpane(::SimplePlots.SimplePlot) at showdisplay.jl:33 displayandrender(::SimplePlots.SimplePlot) at showdisplay.jl:131 (::Atom.var"#189#193"{String})() at eval.jl:126 #invokelatest#1 at essentials.jl:712 [inlined] invokelatest at essentials.jl:711 [inlined] macro expansion at dynamic.jl:24 [inlined] eval(::String, ::Int64, ::String, ::String, ::Bool) at eval.jl:105 macro expansion at eval.jl:39 [inlined] (::Atom.var"#172#173")() at task.jl:358

gnadt avatar May 07 '20 21:05 gnadt

Should be working now! Hope you're doing well

Keep me posted if you find any more bugs

djsegal avatar May 09 '20 08:05 djsegal

Unfortunately still seeing the issue! (after updating the package of course)

Albert

On Sat, May 9, 2020 at 4:08 AM djsegal [email protected] wrote:

Closed #2 https://github.com/djsegal/SimplePlots.jl/issues/2.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/djsegal/SimplePlots.jl/issues/2#event-3319122829, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE54ANK6IGQPWLFLOUGG3WTRQUFOLANCNFSM4M3VSEAQ .

gnadt avatar May 09 '20 15:05 gnadt

My bad. Didn't realize you were using the REPL plots

Should be fixed now? Although the markersize option doesn't do anything in UnicodePlots.jl

If it isn't can you upload the most recent error? Is it still: type SimplePlot has no field id?

djsegal avatar May 10 '20 10:05 djsegal

No worries. Looks like I'm still getting the "no field id" error.

julia> scatter(rand(10), label="Scatter", color=4, xlabel="x", markersize=6) Error showing value of type SimplePlots.SimplePlot: ERROR: type SimplePlot has no field id Stacktrace: [1] getproperty(::SimplePlots.SimplePlot, ::Symbol) at ./Base.jl:33 [2] displayinplotpane(::SimplePlots.SimplePlot) at /Users/gnadt/.juliapro/JuliaPro_v1.4.0-1/packages/Atom/wlPiw/src/display/showdisplay.jl:33 [3] display(::Atom.JunoDisplay, ::SimplePlots.SimplePlot) at /Users/gnadt/.juliapro/JuliaPro_v1.4.0-1/packages/Atom/wlPiw/src/display/showdisplay.jl:118 ...and on

gnadt avatar May 10 '20 15:05 gnadt