Skip to content

Commit

Permalink
Fix typo in cleanup of DataInspector (#3071)
Browse files Browse the repository at this point in the history
  • Loading branch information
sents authored Jul 17, 2023
1 parent 4cf86bb commit 77e835d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interaction/inspector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function cleanup(inspector::DataInspector)
off.(inspector.obsfuncs)
empty!(inspector.obsfuncs)
delete!(inspector.root, inspector.plot)
clear_temporary_plots!(inspector, inspector.slection)
clear_temporary_plots!(inspector, inspector.selection)
inspector
end

Expand Down Expand Up @@ -1037,4 +1037,4 @@ function show_data(inspector::DataInspector, plot::Band, idx::Integer, mesh::Mes
end

return true
end
end

0 comments on commit 77e835d

Please sign in to comment.