Skip to content

Commit d7eb037

Browse files
committed
no hardcoded styles
1 parent e340fbf commit d7eb037

9 files changed

+1
-15
lines changed

src/amuse/examples/Sun_and_M67_in_the_Galaxy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ def Sun_and_M67_in_the_Galaxy():
303303
print("---")
304304
print("time after backward integration:", time)
305305

306-
plt.style.use("../lib/matplotlibrc")
307306
figure = plt.figure()# figsize=(16, 12))
308307
ax = plt.gca()
309308
ax.minorticks_on() # switch on the minor ticks

src/amuse/examples/evolve_triple_with_wind.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
from amuse.community.seba.interface import SeBa
2828
from amuse.community.sse.interface import SSE
2929

30-
plt.style.use('../lib/matplotlibrc')
3130

3231
def orbital_period(a, Mtot):
3332
return 2*numpy.pi*(a**3/(constants.G*Mtot)).sqrt()

src/amuse/examples/imbhs_with_friction.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#from hermite.interface import Hermite
88

99
from matplotlib import pyplot as plt
10-
plt.style.use('../lib/matplotlibrc')
1110

1211
# #BOOKLISTSTART1# #
1312
class CodeWithFriction(bridge.GravityCodeInField):

src/amuse/examples/merge_two_stars_and_evolve.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from amuse.support.console import set_printing_strategy
1010

1111
from matplotlib import pyplot as plt
12-
plt.style.use('../lib/matplotlibrc')
1312

1413
DEFAULT_OPTIONS = {
1514
"redirection": "none",

src/amuse/examples/merger_stellar_density_profile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
from amuse.community.mmams import Mmams
1313
from amuse.community.evtwin import Evtwin
1414

15-
plt.style.use("../lib/matplotlibrc")
16-
1715

1816
def merge_two_stars(Mprim, Msec, t_coll):
1917
print("Merge two stars.")

src/amuse/examples/plot_density_distributions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
from amuse_examples.make_oort_cloud import add_comets
1919

20-
plt.style.use("amuse.examples.book_v2")
21-
2220

2321
def plot_projected_density(
2422
model,

src/amuse/examples/plot_plummer_stars_and_planets.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
from matplotlib import pyplot as plt
1111

12-
plt.style.use('../lib/matplotlibrc')
13-
1412
figure = plt.figure(figsize=(6, 6))
1513
ax = plt.gca()
1614
ax.minorticks_on() # switch on the minor ticks

src/amuse/examples/plot_stellar_evolution_track.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,4 @@ def main():
168168

169169

170170
if __name__ == "__main__":
171-
plt.style.use("seaborn-colorblind")
172-
plt.style.use("amuse-book.mplstyle")
173-
174171
main()

src/amuse/examples/run_nbody_precision.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
from amuse.lab import *
22
import numpy
3+
import matplotlib.pyplot as plt
34
import time
45
import pickle
56
from amuse.community.hermite_grx.interface import HermiteGRX
67

7-
from matplotlib import pyplot as plt
8-
plt.style.use('../lib/matplotlibrc')
98

109
def energy_error_of_integrated_Nbody_system(code, particles, end_time, precision):
1110

0 commit comments

Comments
 (0)