Multiple graphics in the same code block #32
-
I am trying our IDL Notebooks and I found that if I have two or more graphics outputs in the same code block only the final graphic appears. Is this the expected behaviour in IDL notebooks? A simple example that only produces a single output:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
You should have both outputs get embedded in the notebook (we actually have tests that check to make sure as part of our release process). A couple of questions for you:
|
Beta Was this translation helpful? Give feedback.
-
Hi Zachary,
Thank you Zachary - looks like I just needed that restart. |
Beta Was this translation helpful? Give feedback.
-
Hi Zachary, So I think I was able to reproduce this by using this code block:
It seems that by creating the ENVI object, only the 2nd graphic appears. If I restart VSCode and comment out the first line, it works as expected. |
Beta Was this translation helpful? Give feedback.
-
Ah, thanks! I can reproduce the error with that sample. Let me dig into it and see what's up. |
Beta Was this translation helpful? Give feedback.
-
Alright, this has been fixed. Just published a new version of the extension ( We also added some tests for this case to make sure it works as you expect in the future as well! |
Beta Was this translation helpful? Give feedback.
Alright, this has been fixed. Just published a new version of the extension (
4.5.1
) containing the fix.We also added some tests for this case to make sure it works as you expect in the future as well!