by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 16:26
    kmuehlbauer commented #1568
  • Jan 31 2019 16:15
    kmuehlbauer commented #1568
  • Jan 31 2019 15:53
    djhoese commented #1568
  • Jan 31 2019 15:46
    kmuehlbauer edited #1568
  • Jan 31 2019 15:44
    kmuehlbauer opened #1568
  • Jan 31 2019 15:32
    djhoese commented #1566
  • Jan 31 2019 15:30
    djhoese commented #1567
  • Jan 31 2019 14:18
    GuillaumeFavelier commented #1561
  • Jan 31 2019 14:15
    GuillaumeFavelier commented #1561
  • Jan 31 2019 12:46
    opekar synchronize #1130
  • Jan 31 2019 09:54
    kmuehlbauer commented #1567
  • Jan 31 2019 09:53
    kmuehlbauer synchronize #1567
  • Jan 31 2019 09:37
    kmuehlbauer labeled #1567
  • Jan 31 2019 09:37
    kmuehlbauer labeled #1567
  • Jan 31 2019 09:37
    kmuehlbauer labeled #1563
  • Jan 31 2019 09:36
    kmuehlbauer labeled #1563
  • Jan 31 2019 09:28
    kmuehlbauer commented #1567
  • Jan 31 2019 09:27
    kmuehlbauer synchronize #1567
  • Jan 31 2019 09:19
    kmuehlbauer assigned #1563
  • Jan 31 2019 09:17
    kmuehlbauer opened #1567
Kai Mühlbauer
@kmuehlbauer
@djhoese Nothing to add from my side, so no objections to release.
David Hoese
@djhoese
@SBreashears_gitlab If you can break things down to a simple example that I can run locally I could try to help. Get an example make an issue on the vispy github, however it seems this may be a Wx issue and not necessarily a vispy one.
Mark Harfouche
@hmaarrfk
hmm, interesting that versioneer is unmaintained
David Hoese
@djhoese
@hmaarrfk Yeah, last I checked it hadn't received updates for a while and needed some updates for PEP8 styling or something like that (it was failing our auto-linting so we had to exclude it)
Mark Harfouche
@hmaarrfk
PEP8 is this doubled edged sword. Versioned code like versioneer should simply be excluded.
The myriad of configurations for PEP8 and styling makes me hate using them.
David Hoese
@djhoese
yep, not fun. Best to stick with one that looks good to the team and stick with it
Mark Harfouche
@hmaarrfk
David, when running Vispy from spy
Spyder, it seems to like to default to using the notebook backend.
To change it, you have to use the use function
Which can't be called after Vispy has been invoked.
Meaning your whole analysis has to be restarted.
Anyway to address that?
David Hoese
@djhoese
@hmaarrfk I added logic a couple versions ago to auto-detect when we were in a notebook. Does spyder use a ipython session or a notebook session? Something about the ipython kernel must be making vispy think its in a notebook. We could try to make that more accurate if possible. Otherwise, you can set the app you are using at the top of your module.
I don't think it even needs to be before the other imports
just before the app is started
I have never used spyder so if you could look at and try out the get_ipython function inside their terminal (or whatever environment they are running your vispy code from) and see if there is something that identifies a notebook compared to a spyder terminal that would be great
Mark Harfouche
@hmaarrfk
Yeah. Spyder uses ipython
What would you like to know about the get ipython call
Mark Harfouche
@hmaarrfk
anyway, this is definitely more difficult than a gitter chat: vispy/vispy#1708
ecneufeld
@ecneufeld
Hi out there, i need help. I want to render wafermaps including located structures with vispy embeded in jupyter. Therefore i 'simply' need to create lot's of rectangles at least 100.000 (but in average 30.000 and maximum is up to 5.000.000). Rectangles should be colored. Pan and Zoom as well as click events should be available. So my question is: Should i try to use gl_PointSize in shader for rendering those rectangles or should i try using a lot of visuals.RectangleVisual instances?
Edit: in average: 30.000 different rectangles (size and position). Thats my usecase
ecneufeld
@ecneufeld
vispy (0.6.1) seems to slow when using pan and zoom when trying those examples. I'll go for alternatives such as threejs.
David Hoese
@djhoese
@ecneufeld I would honestly recommend not using vispy for this if jupyter is the target backend. Due to the way vispy is designed it is difficult for us to get good performance out of the jupyter backend as-is and would require large changes. Regardless, the RectangleVisual would not be good for this. Any solution that requires more than 10 visuals will perform terribly as it requires a separate GL program for each visual. Each program is drawn sequentially so it takes the GPU a long time to get through each one. It would be best to have one visual that draws all of these rectangles with the appropriate color (I'd never heard of a wafermap before). From googling I couldn't tell if you would need a 2D pan/zoom surface or a 3D with a "z" elevation to the rectangle positions. Is there a big difference between a wafermap and a regular image? I wonder if the ImageVisual would be a good enough start for you, but like I said the jupyter backend will not perform well and is still experimental in my mind.
Matthew Spellings
@klarh
@ecneufeld not sure how snappy you need it to be, but you could also try plato (using vispy as the backend): https://gist.github.com/klarh/d50a3b81251010f88124517df45beebd
David Hoese
@djhoese
@hmaarrfk I was thinking I'd wait for changes by you for the default Spyder backend stuff before making a release. Do you have time to do that any time soon or should I just release and we'll plan for your changes in the next release?
@jni ^
Juan Nunez-Iglesias
@jni
Well, there’s always this tension with releases and getting every last bug fix in (going through this with skimage 0.16 right now). imho since this is an existing bug rather than a regression in master, its not critical to fix just yet.
Mark Harfouche
@hmaarrfk
I don't think I got a real fix for this. I don't understand qt enough to know when the application was closed
IMO, you are keeping up a good cadence since 0.6
i'm ok with waiting
i think the level of a bug "holding up a release" should be set really high
with CI/CD, it is pretty easy to cut new releases.
^ i'm ok with waiting [until the next release]
Mark Harfouche
@hmaarrfk
Have you noticed that repeatedly calling set data on a visit image can just hang all of QT
Maybe it is also related to the frequency at which I call update image on various elemtns
I do so about 20 times per second
Mark Harfouche
@hmaarrfk
Honestly, it seems like some kind of memory leak since variables randomly get deleted from our system....
Strange
It could be my demosaicing code.
David Hoese
@djhoese
No ? Not sure exactly what you mean.
Mark Harfouche
@hmaarrfk
As I run my visualization code for longer and longer, it seems to corrupt python
variables start to disappear, and pythnon will start to complain
behavior stops working
seems like I have a memory leak somewhere
I think I have to define some Shader Variables as in and out
David Hoese
@djhoese
honestly, have you tried restarting your computer? I've seen weird things with my GPU when testing the jupyter widget for vispy and having it crash it odd ways left my GPU in a strange state.
Mark Harfouche
@hmaarrfk
thats a good idea
i'll try it