napari / napari-console

A plugin that adds a console to napari
BSD 3-Clause "New" or "Revised" License
3 stars 12 forks source link

Disable console if napari launched from jupyter #24

Closed psobolewskiPhD closed 1 year ago

psobolewskiPhD commented 1 year ago

See: https://github.com/napari/napari/pull/5213#issuecomment-1304093902 And: https://github.com/napari/docs/pull/53

The console button is now disabled when napari is launched from jupyter, because the console was blank then anyways. This PR aims to clean up the loose ends. CC: @andy-sweet

codecov[bot] commented 1 year ago

Codecov Report

Merging #24 (ea11a9d) into main (e09485b) will increase coverage by 4.96%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   88.74%   93.70%   +4.96%     
==========================================
  Files           4        4              
  Lines         151      143       -8     
==========================================
  Hits          134      134              
+ Misses         17        9       -8     
Impacted Files Coverage Δ
napari_console/qt_console.py 96.10% <100.00%> (+9.04%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.