<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 28, 2023 at 7:50 AM Nunzio Losacco <<a href="mailto:nunzio.losacco@gmail.com">nunzio.losacco@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I wonder if it is possible to have GRASS GIS interact with some external python libraries for interactive plotting, e.g. <a href="http://bokeh.org" target="_blank">bokeh.org</a>. Use case: click on a point, get a popup window with a pre-defined interactive plot or a relevant dashboard.</div></div></blockquote><div><br></div><div>You could run it in Jupyter Notebooks (see e.g. [1]), I have used matplotlib with GRASS in notebooks before. The use case with clicking is not there yet, but we intend to implement more interactivity in the future.</div><div>Alternatively, the GRASS GIS GUI is implemented in wxPython and wxPython can be integrated with matplotlib, there are several tools (such as g.gui.tplot) that already use that.</div><div><br></div><div>[1] <a href="https://github.com/ncsu-geoforall-lab/grass-gis-workshop-foss4g-2022">https://github.com/ncsu-geoforall-lab/grass-gis-workshop-foss4g-2022</a> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Best,</div><div><br></div><div>N</div><div><br></div></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div></div>