Stata Graph Not Displayed in the Jupyter Lab?

Issue

This Content is from Stack Overflow. Question asked by Clay ZHAI

I have installed stata kernel to jupyter lab with the following codes (following the steps from kylebarron.dev/stata_kernel):

pip install stata_kernel
python -m stata_kernel.install

It works for stata codes. But when I want to plot graphs with stata codes, the graph is created in .stata_kernel_cache folder but not displayed on the jupyter output panel. Here are the result from a sample and the result generated when I tried the sample code by myself:
enter image description here enter image description here

You can see my jupyter only saved the image files but not display the graph on the output panel. Could someone tell me why?



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?