Calling python graph on matlab

8 visualizaciones (últimos 30 días)
Görkem Akgül
Görkem Akgül el 26 de Ag. de 2021
Comentada: Yongjian Feng el 29 de Ag. de 2021
Hi,
I'm trying to run a custom python function that generates an animated graph on matlab. I created the script below on Jupyter notebook yet i need to show the graph on matlab. For 3 days, I've been trying to do that and despite all the things i have done it doesn't work. Is it possible to do that ? if so i do appreciate if someone could guide me.
  1 comentario
Yongjian Feng
Yongjian Feng el 29 de Ag. de 2021
Your visualize_geo method returns a ploty.express.choropleth figure to Jupyter notebook. Jupyter notebook knows how to show it.
But when matlab calls your python script, Jupyter notebook is not in the picture. None is showing the figure.
Maybe you just need to call
fig.show()
before you returning fig in your visulaize_geo method?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Integration with Online Platforms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by