Open calvarez55 opened 3 years ago
Hi Camila. Thanks for sharing this!
I have a couple questions:
Are you working on a Linux machine or a Windows machine using Ubuntu for Windows or something like that?
Did you install the Stata Kernel as follows?
pip install git+https://github.com/mcaceresb/stata_kernel.git@dev-stata17-graph-fix
It may be possible to fix your problem by adjusting the graph settings in the stata_kernel.conf file as is described here: https://kylebarron.dev/stata_kernel/using_stata_kernel/configuration/
As is explained here, there are some graphing issues specific to Windows that can be resolved by using png or other graph formats https://kylebarron.dev/stata_kernel/using_stata_kernel/intro/#displaying-graphs
This means changing the stata_kernel.conf file to the following:
graph_format = png
This can be done with a text editor or using the following magics within your Jupyter Notebook to modify the configuration file:
%set graph_format png --permanently
It looks like graph_epstopng_program is another configuration setting recently developed to address these types of issues. It is also described here:
https://kylebarron.dev/stata_kernel/using_stata_kernel/configuration/
Hi Charlie, Thank you for posting these solutions! I tried those out. Unfortunately they didn't work.
I am going to try to re-install the kernel using Stata 16 to see if that works.
I am learning a lot through this troubleshooting process. :)
Hi all,
I am having an issue displaying graphs within the jupyter notebook while using the stata kernel. I think I have the same issue discussed here. I am using Stata 17.
For example, when I input the following code:
The output I get is:
Is anyone else having this issue with Stata 17?
Thanks!