Skip to content
Snippets Groups Projects
Commit e5318346 authored by Rafael Celestre's avatar Rafael Celestre
Browse files

corections to plots_cuts

parent 92cb9c96
No related branches found
No related tags found
No related merge requests found
.gitignore 100644 → 100755
File mode changed from 100644 to 100755
LICENSE 100644 → 100755
File mode changed from 100644 to 100755
README.md 100644 → 100755
File mode changed from 100644 to 100755
README.txt 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -584,8 +584,12 @@ def plot_2D_cuts(plt_cntnr, file_name=None, Enable=True, Silent=False, isphase=F
edges[2] = plt_cntnr.ax_limits[2]
edges[3] = plt_cntnr.ax_limits[3]
dx = edges[1] - edges[0]
dy = edges[3] - edges[2]
if plt_cntnr.AspectRatio is True:
dx = edges[1] - edges[0]
dy = edges[3] - edges[2]
else:
dx = m
dy = n
left, bottom = 0.2, 0.10
spacing = 0.02
......@@ -610,9 +614,9 @@ def plot_2D_cuts(plt_cntnr, file_name=None, Enable=True, Silent=False, isphase=F
rect_histx = [left, bottom + height + spacing_x + 0.02, width, kx]
rect_histy = [left + width + spacing_y + 0.02, bottom, ky, height]
if plt_cntnr.AspectRatio is True:
m = 6.4
n = 6.4
# if plt_cntnr.AspectRatio is True:
# m = 6.4
# n = 6.4
plt_settings(plt_cntnr.FontsSize, plt_cntnr.FontsSizeScale, plt_cntnr.LaTex, _hold=False, m=m, n=n)
......
File mode changed from 100644 to 100755
tests/tests.py 100644 → 100755
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment