Hi everyone,
Is anyone else encountering problems with these visualization functions (plt_intuition, plt_stationary, plt_update_onclick, soup_bowl), In my lab when I try to run any of these, rather than displaying a plot, I get the message “Canvas(toolbar=Toolbar(toolitems=[(‘Home’, ‘Reset original view’, ‘home’, ‘home’), (‘Back’, 'Back to previous …”.
Hey @folami_Bidmus,
Are you running these visualizations in Coursera labs or in your local machine? These visualizations are designed to run in Coursera labs, and might give an error in your local machine due to the differences in the environments. If you are running these in your local machine, you can find some help on this Github thread.
Regards,
Elemento
Hello @Elemento , thanks for the prompt reply, yes I am running these visualizations in Coursera labs.
Hey @folami_Bidmus,
Can you please try restarting your lab once, and if that doesn’t work, can you please try getting the latest version of the lab once, the instructions for which you can find on this thread? Also, try switching your browser once. If neither of this will work, then I will create an issue for this so that the dev team can look into this.
Regards,
Elemento
It seems the root of the problem is the connection speed. I hope that’s all there is to it.
Hey @folami_Bidmus,
Glad to know that you were able to find out the root to this problem. I will make sure to include taking a trip to Ookla as one of the tests when another learner will face a similar query.
Cheers,
Elemento
Hello Elemento,
Thanks for reply but your functions aren’t available. I understand but it seem to be very interesting to progress in python programming . Do you plan to join them in the course ? As well the style sheet ‘./deeplearning.mplstyle’ ?
Thanks
Best regards
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-f8ba2cea74d3> in <module>
2 get_ipython().run_line_magic('matplotlib', 'widget')
3 import matplotlib.pyplot as plt
----> 4 from lab_utils_uni import plt_intuition, plt_stationary, plt_update_onclick, soup_bowl
5 # plt.style.use('./deeplearning.mplstyle')
ModuleNotFoundError: No module named 'lab_utils_uni'
Hey @vignaux,
Welcome to the community.
I am not really sure I get your question, but as far as I can see from the error, you have an issue while importing the functions. Can you please confirm if you are running the code in your local machine or not?
Regards,
Elemento
Thanks for reply.
Yes, I work in Local with anaconda. So I can keep source code for the futur. But with these fonctions
‘from lab_utils_uni import plt_intuition, plt_stationary, plt_update_onclick, soup_bowl’ , I have an error and it’s normal. Could you add the lab_utils_uni in the course for practicing in Local ?