Giter VIP home page Giter VIP logo

Comments (7)

kushalkolar avatar kushalkolar commented on May 18, 2024

Yes I see, I encountered this issue with the HistogramGraphic previously and fixed it in #28

We could just implement it in the base Graphic when data are converted to float32, do you want to do your first PR? :D https://github.com/kushalkolar/fastplotlib/blob/master/fastplotlib/graphics/_base.py#L19

from fastplotlib.

EricThomson avatar EricThomson commented on May 18, 2024

Seems like a good one for start with for sure :) Might take me a little while to get to it (weekend likely).

from fastplotlib.

kushalkolar avatar kushalkolar commented on May 18, 2024

thinking about this more, for lines we don't want to show it as zeros though becuase this will actually move the position of the line vertex, maybe we can set the alpha value for the color at those points to zero

from fastplotlib.

EricThomson avatar EricThomson commented on May 18, 2024

Yes the zero strategy won’t work for lines. Either need to interpolate or make the relevant bits disappear. For the latter, could split into multiple lines or the alpha trick sound good. Having to track multiple separate line objects would probably be a pain!

from fastplotlib.

kushalkolar avatar kushalkolar commented on May 18, 2024

splitting into multiple lines would be a major pain, definitely try the alpha method!

from fastplotlib.

kushalkolar avatar kushalkolar commented on May 18, 2024

I made a PR in pygfx which should fix this, it was a camera issue because autoscaling isn't possible when the bbox is nan:

pygfx/pygfx#540

from fastplotlib.

kushalkolar avatar kushalkolar commented on May 18, 2024

fixed in pygfx/pygfx#540

from fastplotlib.

Related Issues (20)

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.