Spaces:
Sleeping
Sleeping
Changed importing method for plot_atoms
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import ase
|
|
| 6 |
from ase.build import molecule # Often used, good to have for exec scope if needed
|
| 7 |
from ase.calculators.emt import EMT # Common default
|
| 8 |
from ase.optimize import BFGS # Common optimizer
|
| 9 |
-
from ase.visualize import plot_atoms
|
| 10 |
import matplotlib
|
| 11 |
matplotlib.use('Agg') # Use Agg backend for non-interactive plotting
|
| 12 |
import matplotlib.pyplot as plt
|
|
|
|
| 6 |
from ase.build import molecule # Often used, good to have for exec scope if needed
|
| 7 |
from ase.calculators.emt import EMT # Common default
|
| 8 |
from ase.optimize import BFGS # Common optimizer
|
| 9 |
+
from ase.visualize.plot import plot_atoms
|
| 10 |
import matplotlib
|
| 11 |
matplotlib.use('Agg') # Use Agg backend for non-interactive plotting
|
| 12 |
import matplotlib.pyplot as plt
|