Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: omegacen/mascado
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: JuHeart/mascado
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 31, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c2f2c91 View commit details
  2. Merge pull request JuHeart#10 from JuHeart/autoscale_plots

    default limits in plots to None, so that it autoscales by default
    krachyon authored May 31, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    759f87a View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 mascado/utility/plotting.py
4 changes: 2 additions & 2 deletions mascado/utility/plotting.py
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ def set_fontsize(small=8, medium=10, bigger=12):


def plot_distortions(ax, positions, distortions,
inliers=None, limits=(-1.1, 1.1),
inliers=None, limits=None,
positionunits=(1, "normalized"), positionunits2=None,
arrowunits="arcsec", keylen=None,
keypos=(0.5, 1.04), dotsize=2):
@@ -104,7 +104,7 @@ def plot_distortions(ax, positions, distortions,
ax.set_aspect('equal')


def plot_residuals(fig, positions, residuals, inliers=None, limits=(-1.1, 1.1),
def plot_residuals(fig, positions, residuals, inliers=None, limits=None,
positionunits=(1, "normalized"),
arrowunits="arcsec", keylen=None,
keypos=(1.2, 1.2), dotsize=1, **kwgridspec):