mapbox / mapboxgl-jupyter

Use Mapbox GL JS to visualize data in a Python Jupyter notebook
MIT License
661 stars 136 forks source link

Subplot support #180

Open ghirardinicola opened 4 years ago

ghirardinicola commented 4 years ago

Can someone help me in having this working, in a similar as matplotlib and plotly?
https://matplotlib.org/3.2.1/api/_as_gen/matplotlib.pyplot.subplots.html
https://plotly.com/python/subplots/

akacarlyann commented 4 years ago

@ghirardinicola any way you could provide a sketch-up of what you mean? This library is designed to help users generate maps in a Jupyter notebook and optionally export the resulting HTML+JS to include in other web resources. Are you looking to create side by side maps?

ghirardinicola commented 4 years ago

I'm looking to create side by side maps. You can find images in the links

akacarlyann commented 4 years ago

I'm familiar with static subplots in Python. Since mapboxgl-jupyter is displaying JavaScript in a Jupyter cell, I'd like a little more detail on possible map layouts. Are you hoping the interactions with data layers in the maps will be linked in any way? If not, we could just develop a way to append additional maps to the template and handle placement with CSS.

ghirardinicola commented 4 years ago

I'm not looking at any linked interaction, "only" multiple dynamic maps on a grid