'Graph missing from output

The following code works, when I run it via Jupyter through Anaconda, yet when I do the same through VSC although gives me no error messages the output is missing the graph and only shows the top "name" segment, see picture. I would really like to it to work on VSC, any ideas why it isnt working? I have tried everything, reinstalling, updating, switching interpreters/kernels etc and nothing works.

    import lumicks.pylake as lk

import matplotlib.pyplot as plt

import glob

import numpy as np

%matplotlib notebook

import lumicks.pylake as lk

#lk.pytest()

pip install scipy



fdcurves = {}

for filename in 
glob.glob('C:/Users/paulv/OneDrive/Desktop/20220321_BNT_groupA/20220321-140249 FD Curve B7 1nM DNA Fwd1.h5'):#Control curves
    
    file = lk.File(filename)
    
    key, curve = file.fdcurves.popitem()
    
    fdcurves[key] = curve

fdcurves 


selector = lk.FdDistanceRangeSelector(fdcurves)

plt.show()

Thank you in advance !!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source