11/13/2023 0 Comments Bokeh film ploting![]() I'd probably just have the plotting resource output an image into my GUI and make it intractable with PyQT objects. I imagine you could output your plot directly into your PyQT GUI and build in interaction WAY easier that way. ![]() You'd probably have better luck using a more basic plotting library (like matplotlib) with it. PyQT is my favorite GUI resource in python even though the documentation is kinda ass (since it's built on C++ and is typically used in C++). I imagine it would be difficult, but probably do-able? Idk. I have 0 experience with Javascript and I didn't want to get any so I never tried it. That said though, Bokeh outputs to html, so getting it to interact in any direction will require inbedded Javascript in your bokeh code. I haven't messed with that tool in a while. ![]() It's like the power of Javascript at your fingertips - but Pythonic.ĭisclaimer: I am not associated with Bokeh in any way I'm just excited. Plotly is pretty good too I admit, but Bokeh from the ground up clearly was developed by developers for developers with elegance, power, and all-around bad-assery in mind - it is ridiculous. You have to constantly decide if you want %matplotlib inline (dead and lifeless) or %matplotlib qt (zero persistence between runs). ![]() It has a really weird api (for instance: oh you created a plot one way use plt.title() oh wait you created it another way sorry use ax.set_title() because there are two names for everything because reasons). I realize matplotlib is ok, but when in notebook environments it sort of sucks. Seriously why aren't more people using this library? I'm working through the tutorials now:Īnd, given that so many tools are notebook-driven now and that the business-heads always want dashboards and web-facing blah blah blah, why isn't Bokeh the shiznit? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |