QuEraComputing / bloqade-python

QuEra's Neutral Atom SDK for Analog QPUs
https://bloqade.quera.com/
Other
55 stars 14 forks source link

BokheJS wiget not moving the notebook view #705

Open balewski opened 1 year ago

balewski commented 1 year ago

Is your feature request related to a problem? Please describe. When inside Jupyter notebook I navigate the BokheJS wiget produced by emu_batch.source.show() , the whole notebook scrolls to the top each time I touch any items on the menu of the widget. I need to painfully scroll to the bottom of the notebook every time I adjust sth in the display. Here is an example code https://bitbucket.org/balewski/quantummind/src/master/QuEra/python/notebooks/bloqade/local-detune.ipynb I tried it on MacBookPro, Venture 13.5.2 (22G91) under 2 browsers: Chrome & Safari - the same effect.

Describe the solution you'd like Notebook is not scrolling to the top when I play with the BokheJS plot.

Describe alternatives you've considered Disable : output_notebook() but then now canvas show up - so there are no plots to look at.

weinbe58 commented 1 year ago

I am not sure if I completely understand the issue, can you take a screen shot to show me?

balewski commented 1 year ago

Hi Philip, let say I run all cells and display just the last one, as shown in fig 1. next, I want to explore the content of the lowest [+]  After I click it, all scrolls up to the top, as shown in Fig 2. SO I need again crll over all cells to the bottom. If I want to open or close another [+] or [-], it always srolls to the top of JNB.

There is also an issue more related to QuEra. ThisJNB implements both local and global Detune, which have different schedules  But the plot in Fig1 shows only the global detune. I think it should show the 3rd plot with local detune waveform,

I hope it helps Jan

= = = = = FIG 1 ==== 

= = = = = FIG 2 = = = = = 

On Oct 16, 2023, at 4:48 PM, Phillip Weinberg @.***> wrote:

I am not sure if I completely understand the issue, can you take a screen shot to show me?

— Reply to this email directly, view it on GitHub https://github.com/QuEraComputing/bloqade-python/issues/705#issuecomment-1765439983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMOFEZRBLKAEQRKXWGVBTX7XBU7AVCNFSM6AAAAAA6APSR7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRVGQZTSOJYGM. You are receiving this because you authored the thread.

weinbe58 commented 1 year ago

Hi Jan, unfortunately those images are not rendering on GitHub. can you email them to me in the NERSC slack channel?

balewski commented 1 year ago

done Jan

On Oct 20, 2023, at 12:40 PM, Phillip Weinberg @.***> wrote:

Hi Jan, unfortunately those images are not rendering on GitHub. can you email them to me in the NERSC slack channel?