Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alfiopuglisi committed Dec 29, 2021
1 parent 350b7ef commit aebecb0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion guietta/examples/button_renamed.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gui = Gui(

[ 'Enter expression:', '__expr__' , B('right.png', 'newname') ],
[ L('left.png', 'result') , 'result' , _ ],
[ L('left.png') , 'result' , _ ],
[ _ , _ , Quit ],

images_dir = os.path.dirname(__file__)
Expand Down
3 changes: 0 additions & 3 deletions guietta/examples/with_import.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# -*- coding: utf-8 -*-

# Does not work because both the module "u" and the function
# orbital_speed() in the with block become undefined.

import numpy as np
import astropy.units as u
from astropy.constants import G, M_earth, R_earth
Expand Down
1 change: 1 addition & 0 deletions guietta/guietta_matplotlib.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-

from matplotlib.figure import Figure
from matplotlib.colorbar import Colorbar
from matplotlib.backends.backend_qt5agg import FigureCanvas

from guietta import Signal, _alsoAcceptAnotherGui, Ax
Expand Down

0 comments on commit aebecb0

Please sign in to comment.