We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fea596 commit 0a207a9Copy full SHA for 0a207a9
black_hole.py
@@ -22,6 +22,9 @@
22
from tkinter.filedialog import askopenfilename
23
24
import matplotlib.pyplot as plt # Graphical module
25
+import matplotlib
26
+if matplotlib.get_backend() not in ("TKAgg", "Qt5Agg"):
27
+ matplotlib.use("TKAgg", force=True)
28
#from matplotlib.widgets import Slider # TODO: use it for offset GUI
29
import numpy as np # Use for matrices and list
30
from scipy.interpolate import interp1d # Use for interpolation
@@ -1021,4 +1024,3 @@ def approching_blackhole():
1021
1024
# blackhole.open(img_name, size=360)
1022
1025
# blackhole.img_resize(360)
1023
1026
# blackhole.compute(Rs=8, D=50)
-
requirements.txt
@@ -1,4 +1,4 @@
1
numpy>=1.14
2
matplotlib>=3.1
3
scipy>=1.1
4
-PIL>=5.1
+pillow>=5.1
0 commit comments