diff --git a/docs/source/conf.py b/docs/source/conf.py index 76a1508..d57e739 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -23,7 +23,7 @@ author = 'Jannis Necker' # The full version, including alpha/beta/rc tags -release = 'v0.4.11' +release = 'v0.4.12' # -- General configuration --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 5d4b5f9..00423ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "timewise" -version = "0.4.11" +version = "0.4.12" description = "A small package to download infrared data from the WISE satellite" authors = ["Jannis Necker "] license = "MIT" diff --git a/timewise/__init__.py b/timewise/__init__.py index 20527b8..08f1e88 100644 --- a/timewise/__init__.py +++ b/timewise/__init__.py @@ -2,4 +2,4 @@ from timewise.wise_bigdata_desy_cluster import WISEDataDESYCluster from timewise.parent_sample_base import ParentSampleBase -__version__ = "0.4.11" +__version__ = "0.4.12" diff --git a/timewise/wise_data_by_visit.py b/timewise/wise_data_by_visit.py index e3ba737..72e63b1 100644 --- a/timewise/wise_data_by_visit.py +++ b/timewise/wise_data_by_visit.py @@ -5,6 +5,8 @@ from scipy import stats import matplotlib.pyplot as plt from matplotlib.lines import Line2D +from matplotlib.markers import MarkerStyle +from matplotlib.transforms import Affine2D from timewise.wise_data_base import WISEDataBase from timewise.utils import get_excess_variance @@ -538,7 +540,11 @@ def plot_diagnostic_binning( ) # set markers for visits - markers = list(Line2D.filled_markers) + ["$1$", "$2$", "$3$", "$4$", "$5$", "$6$", "$7$", "$8$", "$9$"] + markers_strings = list(Line2D.filled_markers) + ["$1$", "$2$", "$3$", "$4$", "$5$", "$6$", "$7$", "$8$", "$9$"] + markers_straight = [MarkerStyle(im) for im in markers_strings] + rot = Affine2D().rotate_deg(180) + markers_rotated = [MarkerStyle(im, transform=rot) for im in markers_strings] + markers = markers_straight + markers_rotated # calculate ra and dec relative to center of cutout ra = (lightcurve.ra - pos[self.parent_sample.default_keymap["ra"]]) * 3600