Calling python graph on matlab

조회 수: 11 (최근 30일)
Görkem Akgül
Görkem Akgül 2021년 8월 26일
댓글: Yongjian Feng 2021년 8월 29일
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
Yongjian Feng
Yongjian Feng 2021년 8월 29일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Integration with Online Platforms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by