spyder-ide / spyder-notebook

Jupyter notebook integration with Spyder
Other
526 stars 129 forks source link

Images do not display when dragged or coded in Spyder Notebook. No INSERT function? #416

Open richlysakowski opened 1 year ago

richlysakowski commented 1 year ago

Description

What steps will reproduce the problem?

1st Method: 1a) Create a Markdown cell.
1b) Drag an image from the Windows file system into the Markdown cell. 1c) Images do not display when dragged in.

2nd Method: 1a) Create a Markdown cell.
1b) Enter code ![image_name](image location) in Spyder Notebook Markdown cell. Location can be URL or local file system path. Neither method works !! 1c) Images do not display when coded in.

No INSERT function? Jupyter Notebook has an "Insert Image..." on the Edit menu. This is missing in Spyder-Notebook.

Versions

Dependencies

# Mandatory:
atomicwrites >=1.2.0                             :  1.4.1 (OK)
chardet >=2.0.0                                  :  5.1.0 (OK)
cloudpickle >=0.5.0                              :  2.2.1 (OK)
cookiecutter >=1.6.0                             :  2.1.1 (OK)
diff_match_patch >=20181111                      :  20200713 (OK)
intervaltree >=3.0.2                             :  3.0.2 (OK)
IPython >=7.31.1,<9.0.0,!=8.8.0,!=8.9.0,!=8.10.0 :  7.33.0 (OK)
jedi >=0.17.2,<0.19.0                            :  0.18.2 (OK)
jellyfish >=0.7                                  :  0.9.0 (OK)
jsonschema >=3.2.0                               :  4.16.0 (OK)
keyring >=17.0.0                                 :  23.13.1 (OK)
nbconvert >=4.0                                  :  7.2.9 (OK)
numpydoc >=0.6.0                                 :  1.5.0 (OK)
paramiko >=2.4.0                                 :  3.1.0 (OK)
parso >=0.7.0,<0.9.0                             :  0.8.3 (OK)
pexpect >=4.4.0                                  :  4.8.0 (OK)
pickleshare >=0.4                                :  0.7.5 (OK)
psutil >=5.3                                     :  5.9.4 (OK)
pygments >=2.0                                   :  2.14.0 (OK)
pylint >=2.5.0,<3.0                              :  2.17.0 (OK)
pylint_venv >=2.1.1                              :  3.0.1 (OK)
pyls_spyder >=0.4.0                              :  0.4.0 (OK)
pylsp >=1.7.2,<1.8.0                             :  1.7.2 (OK)
pylsp_black >=1.2.0                              :  1.2.1 (OK)
qdarkstyle >=3.0.2,<3.2.0                        :  3.0.3 (OK)
qstylizer >=0.2.2                                :  0.2.2 (OK)
qtawesome >=1.2.1                                :  1.2.3 (OK)
qtconsole >=5.4.2,<5.5.0                         :  5.4.2 (OK)
qtpy >=2.1.0                                     :  2.3.0 (OK)
rtree >=0.9.7                                    :  1.0.1 (OK)
setuptools >=49.6.0                              :  67.6.0 (OK)
sphinx >=0.6.6                                   :  6.1.3 (OK)
spyder_kernels >=2.4.3,<2.5.0                    :  2.4.3 (OK)
textdistance >=4.2.0                             :  4.5.0 (OK)
three_merge >=0.1.1                              :  0.1.1 (OK)
watchdog >=0.10.3                                :  3.0.0 (OK)
zmq >=22.1.0                                     :  25.0.2 (OK)

# Optional:
cython >=0.21                                    :  None (NOK)
matplotlib >=3.0.0                               :  3.5.3 (OK)
numpy >=1.7                                      :  1.23.5 (OK)
pandas >=1.1.1                                   :  1.4.4 (OK)
scipy >=0.17.0                                   :  1.10.1 (OK)
sympy >=0.7.3                                    :  1.11.1 (OK)

# Spyder plugins:
spyder_notebook.notebookplugin 0.4.0             :  0.4.0 (OK)
spyder_terminal.terminalplugin 1.2.2             :  1.2.2 (OK)

Environment

Environment ``` # packages in environment at C:\ProgramData\Anaconda3\envs\streamlit: # # Name Version Build Channel altair 4.2.2 pyhd8ed1ab_0 conda-forge anyio 3.6.1 py310h5588dad_0 conda-forge appdirs 1.4.4 pyh9f0ad1d_0 conda-forge argon2-cffi 21.3.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py310h8d17308_3 conda-forge arrow 1.2.3 pyhd8ed1ab_0 conda-forge arrow-cpp 9.0.0 py310h8b1cf1d_2_cpu conda-forge asgiref 3.6.0 pyhd8ed1ab_0 conda-forge asttokens 2.2.1 pyhd8ed1ab_0 conda-forge async_generator 1.10 py_0 conda-forge attrs 22.2.0 pyh71513ae_0 conda-forge autobahn 23.1.2 pyhd8ed1ab_0 conda-forge automat 22.10.0 pyhd8ed1ab_0 conda-forge aws-c-cal 0.5.11 he19cf47_0 conda-forge aws-c-common 0.6.2 h8ffe710_0 conda-forge aws-c-event-stream 0.2.7 h70e1b0c_13 conda-forge aws-c-io 0.10.5 h2fe331c_0 conda-forge aws-checksums 0.1.11 h1e232aa_7 conda-forge aws-sdk-cpp 1.8.186 h93d3aa3_4 conda-forge babel 2.12.1 pyhd8ed1ab_1 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 pyhd8ed1ab_3 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge backports.zoneinfo 0.2.1 py310h5588dad_7 conda-forge bcrypt 3.2.2 py310h8d17308_1 conda-forge beautifulsoup4 4.11.1 pyha770c72_0 conda-forge bleach 6.0.0 pyhd8ed1ab_0 conda-forge blinker 1.5 pyhd8ed1ab_0 conda-forge bokeh 2.4.3 pyhd8ed1ab_3 conda-forge boltons 23.0.0 pyhd8ed1ab_0 conda-forge brotli 1.0.9 hcfcfb64_8 conda-forge brotli-bin 1.0.9 hcfcfb64_8 conda-forge brotlipy 0.7.0 py310h8d17308_1005 conda-forge bzip2 1.0.8 h8ffe710_4 conda-forge c-ares 1.18.1 h8ffe710_0 conda-forge ca-certificates 2022.12.7 h5b45459_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cachetools 5.3.0 pyhd8ed1ab_0 conda-forge catalogue 2.0.8 py310h5588dad_1 conda-forge certifi 2022.12.7 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py310h628cb3f_3 conda-forge channels 3.0.5 pyhd8ed1ab_0 conda-forge charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge click 8.1.3 win_pyhd8ed1ab_2 conda-forge cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge color-it 2.1.3 pypi_0 pypi colorama 0.4.6 pyhd8ed1ab_0 conda-forge colorcet 3.0.1 pyhd8ed1ab_0 conda-forge comm 0.1.3 pyhd8ed1ab_0 conda-forge conda 23.3.1 py310h5588dad_0 conda-forge conda-package-handling 2.0.2 pyh38be061_0 conda-forge conda-package-streaming 0.7.0 pyhd8ed1ab_1 conda-forge confection 0.0.4 py310hbbfc1a7_1 conda-forge constantly 15.1.0 py_0 conda-forge contourpy 1.0.7 py310h232114e_0 conda-forge cryptography 38.0.4 py310h52f42fa_0 conda-forge cssselect 1.2.0 pyhd8ed1ab_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge cymem 2.0.7 py310h00ffb61_1 conda-forge cython-blis 0.7.9 py310h9b08ddd_1 conda-forge daphne 3.0.2 pyhd8ed1ab_0 conda-forge dataclasses 0.8 pyhc8e2a94_3 conda-forge debugpy 1.6.6 py310h00ffb61_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge django 4.1.7 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge exceptiongroup 1.1.1 pyhd8ed1ab_0 conda-forge executing 1.2.0 pyhd8ed1ab_0 conda-forge fake-useragent 1.1.3 pyhd8ed1ab_0 conda-forge flit-core 3.8.0 pyhd8ed1ab_0 conda-forge fmt 9.1.0 h181d51b_0 conda-forge fonttools 4.39.2 py310h8d17308_0 conda-forge fpdf2 2.6.1 pypi_0 pypi fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 h546665d_1 conda-forge frozendict 2.3.7 py310h8d17308_0 conda-forge gettext 0.21.1 h5728263_0 conda-forge gflags 2.2.2 ha925a31_1004 conda-forge gitdb 4.0.10 pyhd8ed1ab_0 conda-forge gitpython 3.1.31 pyhd8ed1ab_0 conda-forge glib 2.74.1 h12be248_1 conda-forge glib-tools 2.74.1 h12be248_1 conda-forge glog 0.6.0 h4797de2_0 conda-forge greenlet 2.0.2 py310h00ffb61_0 conda-forge grpc-cpp 1.46.4 hcb02dd0_7 conda-forge gst-plugins-base 1.21.2 h001b923_0 conda-forge gstreamer 1.21.2 h6b5321d_0 conda-forge h11 0.14.0 pyhd8ed1ab_0 conda-forge holoviews 1.15.4 py_0 pyviz html5lib 1.1 pyh9f0ad1d_0 conda-forge hyperlink 21.0.0 pyhd3deb0d_0 conda-forge icu 70.1 h0e60522_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge importlib-metadata 6.1.0 pyha770c72_0 conda-forge importlib_metadata 6.1.0 hd8ed1ab_0 conda-forge importlib_resources 5.12.0 pyhd8ed1ab_0 conda-forge incremental 22.10.0 pyhd8ed1ab_0 conda-forge intel-openmp 2023.0.0 h57928b3_25922 conda-forge ipykernel 6.22.0 pyh025b116_0 conda-forge ipython 8.11.0 pyh08f2357_0 conda-forge ipython-sql 0.3.9 pyhd8ed1ab_1004 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 8.0.5 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge jedi 0.18.2 pyhd8ed1ab_0 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge jpeg 9e hcfcfb64_3 conda-forge json5 0.9.5 pyh9f0ad1d_0 conda-forge jsonpatch 1.32 pyhd8ed1ab_0 conda-forge jsonpointer 2.3 pypi_0 pypi jsonschema 4.17.3 pyhd8ed1ab_0 conda-forge jupyter 1.0.0 py310h5588dad_8 conda-forge jupyter-server-mathjax 0.2.6 pyh5bfe37b_1 conda-forge jupyter_client 7.4.9 pyhd8ed1ab_0 conda-forge jupyter_console 6.6.3 pyhd8ed1ab_0 conda-forge jupyter_core 5.3.0 py310h5588dad_0 conda-forge jupyter_events 0.6.3 pyhd8ed1ab_0 conda-forge jupyter_server 2.5.0 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge jupyterlab 3.5.0 pyhd8ed1ab_0 conda-forge jupyterlab-git 0.41.0 pyhd8ed1ab_1 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.21.0 pyhd8ed1ab_0 conda-forge jupyterlab_templates 0.3.2 pyh1d7be83_0 conda-forge jupyterlab_widgets 3.0.6 pyhd8ed1ab_0 conda-forge kiwisolver 1.4.4 py310h232114e_1 conda-forge krb5 1.20.1 h6609f42_0 conda-forge langcodes 3.3.0 pyhd8ed1ab_0 conda-forge lerc 4.0.0 h63175ca_0 conda-forge libabseil 20220623.0 cxx17_h1a56200_6 conda-forge libarchive 3.6.2 h62576cb_0 conda-forge libblas 3.9.0 16_win64_mkl conda-forge libbrotlicommon 1.0.9 hcfcfb64_8 conda-forge libbrotlidec 1.0.9 hcfcfb64_8 conda-forge libbrotlienc 1.0.9 hcfcfb64_8 conda-forge libcblas 3.9.0 16_win64_mkl conda-forge libclang 15.0.7 default_h77d9078_1 conda-forge libclang13 15.0.7 default_h77d9078_1 conda-forge libcrc32c 1.1.2 h0e60522_0 conda-forge libcurl 7.88.1 h68f0423_1 conda-forge libdeflate 1.17 hcfcfb64_0 conda-forge libffi 3.4.2 h8ffe710_5 conda-forge libglib 2.74.1 he8f3873_1 conda-forge libgoogle-cloud 2.1.0 h1006c2c_1 conda-forge libhwloc 2.9.0 h51c2c0f_0 conda-forge libiconv 1.17 h8ffe710_0 conda-forge liblapack 3.9.0 16_win64_mkl conda-forge libmamba 1.2.0 h37bf487_0 conda-forge libmambapy 1.2.0 py310h954024b_0 conda-forge libogg 1.3.4 h8ffe710_1 conda-forge libpng 1.6.39 h19919ed_0 conda-forge libpq 14.5 he840576_5 conda-forge libprotobuf 3.20.2 h12be248_0 conda-forge libsodium 1.0.18 h8d14728_1 conda-forge libsolv 0.7.23 h12be248_0 conda-forge libsqlite 3.40.0 hcfcfb64_0 conda-forge libssh2 1.10.0 h680486a_3 conda-forge libthrift 0.16.0 h9f558f2_2 conda-forge libtiff 4.5.0 hf8721a0_2 conda-forge libutf8proc 2.8.0 h82a8f57_0 conda-forge libvorbis 1.3.7 h0e60522_0 conda-forge libwebp 1.2.4 hcfcfb64_3 conda-forge libwebp-base 1.2.4 h8ffe710_0 conda-forge libxml2 2.10.3 hc3477c8_6 conda-forge libxslt 1.1.37 h0192164_0 conda-forge libzlib 1.2.13 hcfcfb64_4 conda-forge lxml 4.9.2 py310hc0e5b84_0 conda-forge lz4-c 1.9.4 hcfcfb64_0 conda-forge lzo 2.10 he774522_1000 conda-forge m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge mamba 1.2.0 py310h9376f3e_0 conda-forge markdown 3.4.3 pyhd8ed1ab_0 conda-forge markdown-it-py 2.2.0 pyhd8ed1ab_0 conda-forge markupsafe 2.1.2 py310h8d17308_0 conda-forge matplotlib 3.6.0 py310h5588dad_0 conda-forge matplotlib-base 3.6.0 py310h51140c5_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mdurl 0.1.0 pyhd8ed1ab_0 conda-forge menuinst 1.4.19 py310h5588dad_1 conda-forge mistune 2.0.5 pyhd8ed1ab_0 conda-forge mkl 2022.1.0 h6a75c08_874 conda-forge mkl-service 2.4.0 py310h84a9c25_0 conda-forge msys2-conda-epoch 20160418 1 conda-forge multitasking 0.0.9 pyhd8ed1ab_0 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge murmurhash 1.0.9 py310h00ffb61_1 conda-forge nb_conda_kernels 2.3.1 py310h5588dad_2 conda-forge nbclassic 0.5.3 pyhb4ecaf3_3 conda-forge nbclient 0.7.2 pyhd8ed1ab_0 conda-forge nbconvert 7.2.9 pyhd8ed1ab_0 conda-forge nbconvert-core 7.2.9 pyhd8ed1ab_0 conda-forge nbconvert-pandoc 7.2.9 pyhd8ed1ab_0 conda-forge nbdime 3.1.1 pyhd8ed1ab_0 conda-forge nbformat 5.8.0 pyhd8ed1ab_0 conda-forge nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge notebook 6.5.3 pyha770c72_0 conda-forge notebook-shim 0.2.2 pyhd8ed1ab_0 conda-forge numpy 1.24.2 py310hd02465a_0 conda-forge openssl 1.1.1t hcfcfb64_0 conda-forge outcome 1.2.0 pyhd8ed1ab_0 conda-forge packaging 23.0 pyhd8ed1ab_0 conda-forge pandas 1.5.0 py310h1c4a608_0 conda-forge pandoc 3.1.1 h57928b3_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge panel 0.14.3 py_0 pyviz param 1.13.0 pyh1a96a4e_0 conda-forge parquet-cpp 1.5.1 2 conda-forge parse 1.19.0 pyh44b312d_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pathy 0.10.1 pyhd8ed1ab_0 conda-forge patsy 0.5.3 pyhd8ed1ab_0 conda-forge pcre2 10.40 h17e33f8_0 conda-forge pexpect 4.8.0 pyh1a96a4e_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 9.2.0 pypi_0 pypi pip 23.0.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0 conda-forge platformdirs 3.1.1 pyhd8ed1ab_0 conda-forge plotly 5.13.0 pyhd8ed1ab_0 conda-forge pluggy 1.0.0 pyhd8ed1ab_5 conda-forge ply 3.11 py_1 conda-forge pooch 1.7.0 pyha770c72_3 conda-forge preshed 3.0.8 py310h00ffb61_1 conda-forge prettytable 3.6.0 pyhd8ed1ab_0 conda-forge prometheus_client 0.16.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.38 pyha770c72_0 conda-forge prompt_toolkit 3.0.38 hd8ed1ab_0 conda-forge protobuf 3.20.2 py310h5588dad_1 conda-forge psutil 5.9.3 py310h8d17308_0 conda-forge psycopg2 2.9.3 py310h628cb3f_1 conda-forge pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pyarrow 9.0.0 py310h0c37ab2_2_cpu conda-forge pyasn1 0.4.8 py_0 conda-forge pyasn1-modules 0.2.7 py_0 conda-forge pybind11-abi 4 hd8ed1ab_3 conda-forge pycosat 0.6.4 py310h8d17308_1 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pyct 0.4.6 py_0 conda-forge pyct-core 0.4.6 py_0 conda-forge pydantic 1.10.7 py310h8d17308_0 conda-forge pydeck 0.8.0 pyhd8ed1ab_0 conda-forge pyee 8.1.0 pyhd8ed1ab_0 conda-forge pygments 2.14.0 pyhd8ed1ab_0 conda-forge pyjokes 0.6.0 pypi_0 pypi pympler 1.0.1 pyhd8ed1ab_0 conda-forge pyopenssl 23.1.0 pyhd8ed1ab_0 conda-forge pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge pyppeteer 1.0.2 pyhd8ed1ab_0 conda-forge pyqt 5.15.7 py310h1fd54f2_3 conda-forge pyqt5-sip 12.11.0 py310h00ffb61_3 conda-forge pyquery 2.0.0 pyhd8ed1ab_0 conda-forge pyrsistent 0.19.3 py310h8d17308_0 conda-forge pysocks 1.7.1 pyh0701188_6 conda-forge python 3.10.6 h9a09f29_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-dotenv 1.0.0 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.16.3 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-tzdata 2023.2 pyhd8ed1ab_0 conda-forge python-wget 3.2 py_0 conda-forge python_abi 3.10 3_cp310 conda-forge pytz 2022.7.1 pyhd8ed1ab_0 conda-forge pytz-deprecation-shim 0.1.0.post0 py310h5588dad_3 conda-forge pyviz_comms 2.2.1 pyhd8ed1ab_1 conda-forge pywin32 304 py310h00ffb61_2 conda-forge pywinpty 2.0.10 py310h00ffb61_0 conda-forge pyyaml 6.0 py310h8d17308_5 conda-forge pyzmq 25.0.2 py310hcd737a0_0 conda-forge qt-main 5.15.6 h068e40c_5 conda-forge qtconsole 5.4.1 pyhd8ed1ab_0 conda-forge qtconsole-base 5.4.1 pyha770c72_0 conda-forge qtpy 2.3.0 pyhd8ed1ab_0 conda-forge re2 2022.06.01 h0e60522_1 conda-forge reproc 14.2.4 hcfcfb64_0 conda-forge reproc-cpp 14.2.4 h63175ca_0 conda-forge requests 2.28.2 pyhd8ed1ab_0 conda-forge requests-html 0.10.0 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rich 13.3.2 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.17.21 py310h8d17308_3 conda-forge ruamel.yaml.clib 0.2.7 py310h8d17308_1 conda-forge scipy 1.10.1 py310h578b7cb_0 conda-forge seaborn 0.12.0 hd8ed1ab_0 conda-forge seaborn-base 0.12.0 pyhd8ed1ab_0 conda-forge selenium 4.6.0 pyhd8ed1ab_0 conda-forge semver 2.13.0 pyh9f0ad1d_0 conda-forge send2trash 1.8.0 pyhd8ed1ab_0 conda-forge service_identity 18.1.0 py_0 conda-forge setuptools 67.6.0 pyhd8ed1ab_0 conda-forge shellingham 1.5.1 pyhd8ed1ab_0 conda-forge sip 6.7.7 py310h00ffb61_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge smart_open 5.2.1 pyhd8ed1ab_0 conda-forge smmap 3.0.5 pyh44b312d_0 conda-forge snappy 1.1.10 hfb803bf_0 conda-forge sniffio 1.3.0 pyhd8ed1ab_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge spacy 3.4.3 py310h220cb41_1 conda-forge spacy-legacy 3.0.12 pyhd8ed1ab_0 conda-forge spacy-loggers 1.0.4 pyhd8ed1ab_0 conda-forge spyder-kernels 2.4.2 win_pyhd8ed1ab_0 conda-forge sqlalchemy 2.0.7 py310h8d17308_0 conda-forge sqlparse 0.4.3 pyhd8ed1ab_0 conda-forge srsly 2.4.6 py310h00ffb61_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge statsmodels 0.13.5 py310h9b08ddd_2 conda-forge streamlit 1.19.0 pyhd8ed1ab_0 conda-forge streamlit-timeline 0.0.2 pypi_0 pypi tbb 2021.8.0 h91493d7_0 conda-forge tenacity 8.2.2 pyhd8ed1ab_0 conda-forge terminado 0.15.0 py310h5588dad_0 conda-forge thinc 8.1.9 py310h220cb41_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.12 h8ffe710_0 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge toolz 0.12.0 pyhd8ed1ab_0 conda-forge tornado 6.2 py310h8d17308_1 conda-forge tqdm 4.65.0 pyhd8ed1ab_1 conda-forge traitlets 5.9.0 pyhd8ed1ab_0 conda-forge trio 0.22.0 py310h5588dad_1 conda-forge trio-websocket 0.10.2 pyhd8ed1ab_0 conda-forge twisted 22.10.0 py310h8d17308_0 conda-forge twisted-iocpsupport 1.0.2 py310h8d17308_3 conda-forge txaio 23.1.1 pyhd8ed1ab_0 conda-forge typer 0.4.2 pyhd8ed1ab_0 conda-forge typing-extensions 4.5.0 hd8ed1ab_0 conda-forge typing_extensions 4.5.0 pyha770c72_0 conda-forge tzdata 2023b h71feb2d_0 conda-forge tzlocal 4.3 py310h5588dad_0 conda-forge ucrt 10.0.22621.0 h57928b3_0 conda-forge unicodedata2 15.0.0 py310h8d17308_0 conda-forge uri-template 1.2.0 pyhd8ed1ab_0 conda-forge urllib3 1.26.15 pyhd8ed1ab_0 conda-forge validators 0.20.0 pyhd8ed1ab_0 conda-forge vc 14.3 hb6edc58_10 conda-forge vega_datasets 0.9.0 pyhd3deb0d_0 conda-forge vs2015_runtime 14.34.31931 h4c5c07a_10 conda-forge w3lib 2.1.1 pyhd8ed1ab_0 conda-forge wasabi 0.10.1 pyhd8ed1ab_1 conda-forge watchdog 3.0.0 py310h5588dad_0 conda-forge wcwidth 0.2.6 pyhd8ed1ab_0 conda-forge webcolors 1.12 pyhd8ed1ab_0 conda-forge webdriver-manager 3.8.5 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 py_1 conda-forge websocket-client 1.5.1 pyhd8ed1ab_0 conda-forge websockets 10.4 py310h8d17308_1 conda-forge wheel 0.40.0 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.6 pyhd8ed1ab_0 conda-forge win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge winpty 0.4.3 4 conda-forge wordcloud 1.8.2.2 py310h8d17308_1 conda-forge wsproto 1.2.0 pyhd8ed1ab_0 conda-forge xlwings 0.30.2 py310h5588dad_0 conda-forge xz 5.2.6 h8d14728_0 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge yaml-cpp 0.7.0 h63175ca_2 conda-forge yfinance 0.2.18 pyhd8ed1ab_0 conda-forge zeromq 4.3.4 h0e60522_1 conda-forge zipp 3.15.0 pyhd8ed1ab_0 conda-forge zlib 1.2.13 hcfcfb64_4 conda-forge zope.interface 6.0 py310h8d17308_0 conda-forge zstandard 0.19.0 py310h0009e47_1 conda-forge zstd 1.5.2 h12be248_6 conda-forge ```
ccordoba12 commented 1 year ago

Hey @richlysakowski, thanks for reporting. I think I mentioned this to you a couple of times before, but please open issue about Spyder-notebook on its repo and not here.

Now I'm going to move this issue there for its maintainer to take a look at it.

jitseniesen commented 1 year ago

Hmm, both method 1 and method 2 work for me:

notebook-pics

This is with version 0.4.1 of the spyder-notebook plugin; I don't see why this should make a difference but perhaps try upgrading. I think my QT is also one minor version higher (also probably not relevant):

pyqt                      5.15.7          py310hab646b1_3    conda-forge
pyqtwebengine             5.15.7          py310h1165ae2_3    conda-forge
qt-main                   5.15.8               h67dfc38_7    conda-forge
qt-webengine              5.15.8               h77d6d84_0    conda-forge
qtpy                      2.3.1              pyhd8ed1ab_0    conda-forge

On re-reading your post, I see you are on Windows. My screenshot is on Linux; that may well be the deciding factor. I will have a look on Windows later this week.

There is indeed no "Insert Image..." in the Edit menu in the notebook. The next version of the plugin will be based on Jupyter Notebook 7 (currently in beta), which does not have that menu item either.

jitseniesen commented 1 year ago

It also works on Windows 11 for me. Unfortunately, I don't have access to a Windows 10 computer on which I can test. Versions: Spyder 5.4.3, spyder-notebook 0.4.1, Python 3.11.3, Qt 5.15.6, PyQt5 5.15.7.