Skip to content

Commit

Permalink
update. plenoptics should not depend on plenoirf
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed Jan 9, 2024
1 parent e697ffa commit c724e97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions plenoptics/scripts/plot_image_of_star_vs_offaxis.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/python
import os
import plenoirf
from atmospheric_cherenkov_response import plot as acr_plot
import numpy as np
import solid_angle_utils
import plenoptics
Expand All @@ -10,7 +10,7 @@
import pandas

sebplt.matplotlib.rcParams.update(
plenoirf.summary.figure.MATPLOTLIB_RCPARAMS_LATEX
acr_plot.config()["rcParams"]
)

argparser = argparse.ArgumentParser()
Expand Down Expand Up @@ -197,8 +197,8 @@
)

for PLOT in PLOTS:
fig = sebplt.figure(style={"rows": 1440, "cols": 1280, "fontsize": 1})
ax_usr = sebplt.add_axes(fig, [0.12, 0.08, 0.77, 0.9])
fig = sebplt.figure(style={"rows": 1440, "cols": 1280, "fontsize": 1.25})
ax_usr = sebplt.add_axes(fig, [0.12, 0.1, 0.77, 0.87])
sebplt.ax_add_grid(ax=ax_usr, add_minor=True)
ax_deg2 = ax_usr.twinx()
ax_deg2.spines["top"].set_visible(False)
Expand All @@ -216,6 +216,7 @@
np.array([SOLID_ANGLE_80_DEG2_START, SOLID_ANGLE_80_DEG2_STOP])
)
ax_deg2.set_ylabel(r"(1$^{\circ}$)$^2$")
ax_deg2.yaxis.set_label_coords(1.07, 0.5)

for instrument_key in PLOT["instruments"]:
if "diag9" in instrument_key:
Expand Down
2 changes: 1 addition & 1 deletion plenoptics/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.3"
__version__ = "0.0.4"

0 comments on commit c724e97

Please sign in to comment.