Skip to content

Commit

Permalink
DOC: Use (experimental) contrained_layout in plots
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hold committed Apr 14, 2020
1 parent 6465711 commit 33c5e36
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions spaudiopy/IO.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
Expand Down
1 change: 1 addition & 0 deletions spaudiopy/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
Expand Down
5 changes: 3 additions & 2 deletions spaudiopy/grids.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
import numpy as np
import matplotlib.pyplot as plt
import spaudiopy as spa
plt.rcParams['figure.figsize'] = 8, 4.5 # inch
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
"""

import os
Expand Down
1 change: 1 addition & 0 deletions spaudiopy/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
Expand Down
1 change: 1 addition & 0 deletions spaudiopy/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
Expand Down
1 change: 1 addition & 0 deletions spaudiopy/sdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
Expand Down
1 change: 1 addition & 0 deletions spaudiopy/sig.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
Expand Down
1 change: 1 addition & 0 deletions spaudiopy/sph.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
Expand Down
1 change: 1 addition & 0 deletions spaudiopy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
plt.rcParams['axes.grid'] = True
import spaudiopy as spa
Expand Down

0 comments on commit 33c5e36

Please sign in to comment.