# Interactive pygmt solution in jupyter

**URL:** <https://forum.generic-mapping-tools.org/t/interactive-pygmt-solution-in-jupyter/5369>\
**Category:** Showcase\
**Created:** [September 21, 2024, 12:35pm UTC](https://forum.generic-mapping-tools.org/t/interactive-pygmt-solution-in-jupyter/5369 "2024-09-21T12:35:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![espiritocz](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/espiritocz/32/904_2.png) [@espiritocz](https://forum.generic-mapping-tools.org/u/espiritocz)\
**Post date:** [September 21, 2024, 12:35pm UTC](https://forum.generic-mapping-tools.org/t/interactive-pygmt-solution-in-jupyter/5369/1 "2024-09-21T12:35:15Z")

</div>

Dear (py)GMT dev team and friends,

Let me present you an interactive solution developed during this summer by an MSc student, available on her github page: [https://github.com/chelle0425/IntPyGMT](https://github.com/chelle0425/IntPyGMT)

It allows users making their pygmt (or gmt) figure interactive in jupyter environment by getting an accurate coordinate on mouse click - see demo below where this is linked to a time series viewer function.

Note any GMT projection can be used here since the tool calls the **mapproject** (via clib API - [see solution](https://github.com/chelle0425/IntPyGMT/blob/b793cc9533c1ff4567eb29283d944d3819ace10d/python/IntPyGMT_overlay.py#L207C37-L207C47)).

 ![](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/4/4db68b7a086e394929619f8c1236f2898d02778e.gif)  

I hope you will like this and curious about your use case feedback :3

---

<div class="post-metadata">

**Author:** ![andrebelem](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/andrebelem/32/1218_2.png) [@andrebelem](https://forum.generic-mapping-tools.org/u/andrebelem)\
**Post date:** [September 21, 2024, 2:52pm UTC](https://forum.generic-mapping-tools.org/t/interactive-pygmt-solution-in-jupyter/5369/2 "2024-09-21T14:52:46Z")

</div>

Wow! 👏 👏 👏 Very interesting! I’ll definitely add this to my classes. Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [October 15, 2024, 2:26pm UTC](https://forum.generic-mapping-tools.org/t/interactive-pygmt-solution-in-jupyter/5369/3 "2024-10-15T14:26:32Z")

</div>

Next step is interactive layer management !
