Git Product home page Git Product logo

smoothliveplot.jl's Issues

Plot line disappears if any element is set too large

If any ordinate element in a plot array is either initially set (or modified to) a value that is too large, the plot line vanishes.

To reproduce the bug:

using Plots, SmoothLivePlot

function myPlotFun(yVals)
   plot(0:0.1:1, 0:0.1:1)
   plot!(range(0,1,length=length(yVals)), yVals)
   ylims!(0,2)
end

inyVals = collect(0.2:0.01:0.3)

outPltOb = @makeLivePlot myPlotFun(inyVals)

Screen Shot 2020-04-09 at 12 38 30

Modifying an ordinate element of the plot object to modest values produces no error:

newYvals = copy(inyVals)
newYvals[5] = 10

modifyPlotObject!(outPltOb, arg1 = newYvals)

Screen Shot 2020-04-09 at 12 38 49

However, modifying to large values makes the line disappear

newYvals[5] = 1e8

modifyPlotObject!(outPltOb, arg1 = newYvals)

Screen Shot 2020-04-09 at 12 38 58

"Large" ordinate values that cause the bug seem to be >1e8. Interestingly, this bug does not occur for large negative numbers. This bug does not occur with scatter. Large abscissa have not been tested yet.

Test set opens in gui instead of plot plane

For some reason, in recent tests the smooth plots open in a gui instead of the Juno plot plane window. Functionality of the smooth plotting is still active, but the destination is wrong. This may be a julia-client issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.