Open etch32 opened 5 years ago
Thanks for the detailed bug report. I created an Ubuntu 18.04 VM with the software versions you listed and I got the same behavior.
You were on the right track by setting myhdlpeek.USE_JUPYTERLAB = False
. I did the same but it had no effect. I'm wondering if that ever worked. I had to go directly into the myhdlpeek.py file and set USE_JUPYTERLAB
to False
in order to get the scrolling to work and also to eliminate the Javascript errors.
Obviously, there needs to be a setter function in myhdlpeek.py for setting the USE_JUPYTERLAB
flag.
Thanks for your quick reply. I was able to get scrolling to work in jupyter notebook by setting USE_JUPYTERFLAG=False in myhdlpeek.py as you said. Still no luck with jupyter lab no matter which setting but at least I have a way to view scrolling (and eliminate the other js errors) in notebook.
Hi, I just wanted to confirm that you were also able to replicate "no scrolling" behaviour in jupyter lab (with of course the default myhdlpeek.USE_JUPYTERLAB = True; i.e. no edits). I can get it to work in jupyter notebook by applying the edit directly to myhdlpeek.py but is there a work around for jupyter lab? (Or maybe it just works for you in jupyter lab?).
I'll try Jupyter Lab tomorrow. If it's not working for you, then I'm betting there's something wrong with the wavedrom
function that I'm calling when USE_JUPYTERLAB
is True
.
OK cool. Thanks for looking into it
The scrolling isn't working with Jupyter Lab. Looking at the nbwavedrom
code, it does appear to handle the width
parameter. I'll have to look deeper to see why it is ignored.
Hi I am running peeker_options,ipynb in examples directory. The example for horizontal scrolling, doesn't display any output unless I comment the line #Peeker.clear_traces(). If I comment this line output will display but is compressed to width of browser with no scroll bars.
The other examples in this notebook render fine but they do display the following Javascript error which may be related:
Here's the Console error detail
Finally, my setup: Ubuntu 18.04,
Have also tried on Windows 10, python 3.7 (am running 3.5 due to pygmyhdl issue with byteplay3), jupyter lab vs notebook, firefox v chrome