kylebarron / stata_kernel

A Jupyter kernel for Stata. Works with Windows, macOS, and Linux.
https://kylebarron.dev/stata_kernel/
GNU General Public License v3.0
264 stars 57 forks source link

Graphs not displaying on JupyterLab with Stata 17 #408

Closed daniel-alves-fernandes closed 2 years ago

daniel-alves-fernandes commented 2 years ago

Problem description

Ever since I upgraded to Stata 17, the Stata kernel does not display any graphs on JupyterLab. Instead, I only get the following output:

file ~/.stata_kernel_cache/graph0.svg saved as SVG format
file ~/.stata_kernel_cache/graph0.pdf saved as PDF format

This problem is persistent with default commands (e.g. twoway) and third-party packages (e.g. coefplot). Changing the kernel's graph format and redundancy also does not fix the issue.

Other information

daniel-alves-fernandes commented 2 years ago

Already answered here: https://github.com/kylebarron/stata_kernel/pull/394