Thanks for the detailed answer Ogi !! Replying to Mike...
Actually I found some limitations with bokeh. As you can see in the gif, I need to have many plots displayed at the same time. Each plot has one multiline graph and one scatter graph, all the samples should be separated by colors. I had to limit the number of the multiline graph just to one or two profile lines (they are drawn only when some sample is selected), if not the app crashes. Even with these manual limitations, the app does not feel efficient like native. I know that JS has its limitations and the browser as well, but I was expecting that the interaction be more fluent. Some developer recommended that I could have only rendered the plots in the current tab (the visible one), and then, when the user click on any other tab, the app could remove the plots of the old tab and load the new one. That could be a good improvement, however I think the result would be far from a native app. Now I need to make a more powerful app with more files opened at the same time and the workflow should be much instant than that app. So that is why I was considering PyQtGraph and OpenGL On Thursday, 6 May 2021 at 16:33:58 UTC+2 [email protected] wrote: > Hi Chesu, > > I'm Ogi, I'm one of the pyqtgraph maintainers. I took a look at the gif > in the README, PyQtGraph I think should be perfectly capable of doing the > plots there, and likely getting the window/layout management as well. > Unfortunately due to the vast differences in frameworks that bokeh and > pyqtgraph uses, there is likely little in the display portion of the code > that can be re-used. > > Generally speaking, I consider Bokeh to be a more mature library than > pyqtgraph. It has had corporate backing on/off since its inception, and > Bryan, the main developer behind Bokeh is a very very skilled developer. > That said, I haven't used Bokeh enough to provide direct comparisons so > it's hard for me to assess if pyqtgraph would be a better fit for you or > not. > > Regarding the toolbar of buttons, pyqtgraph does not have that by default; > but I don't think the implementation would be that difficult with just > creating your own button row Qt widget, and tying the signals/slots > accordingly. PyQtGraph rests a layer on top of the GraphicsView portion of > the Qt framework, but it integrates into the entirety (minus the QML stuff) > of the Qt framework with ease. Given Qt's integration into the OS and its > capabilities of handling all sorts of GUI components, replicating the > toolbar functionality will probably be relatively straight forward. > > This would likely be a fair amount of work, so unless there is some issue > that Bokeh is unable to address; I would likely remain there. That said, > moving to the Qt framework has loads of advantages. > > On Thu, May 6, 2021 at 7:21 AM Mikhail Terekhov <[email protected]> wrote: > >> On 2021-05-05 17:55, 'Chesu CR' via pyqtgraph wrote: >> > Hello everybody, >> > >> > I am considering migrating an app similar to the one in the link to >> > PyQtGraph or Vispy. The App is built with the Bokeh library >> > >> > https://github.com/ocean-data-qc/ocean-data-qc >> > >> > Do you think that is possible? If you take a look at the gif in the >> > main page of the project. I need to be able to interact with the >> > samples in the graph by clicking on them. I also need to draw >> > multiline plots on the samples graph, change some visibility of a >> > group of samples, etc. I think you can get the whole idea just >> > checking the gif. >> > >> > Thanks in advance !! >> >> >> Just curious, what problems with Bokeh you are trying to solve? >> >> >> Regards, >> >> Mikhail >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pyqtgraph" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pyqtgraph/b14ad8e1-9753-511d-01b4-80cec4d58d53%40gmail.com >> . >> > -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/45c98324-7e29-48fa-8263-636960909218n%40googlegroups.com.
