/usr/share/doc/python-pyregion/html/examples/demo_region02.py is in python-pyregion-doc 2.0-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import matplotlib.pyplot as plt
from demo_helper import show_region
region_list = [
"test_annuli.reg",
"test_annuli_wcs.reg",
"test_annuli_ciao.reg",
]
fig = plt.figure(figsize=(6, 6))
ax_list = show_region(fig, region_list)
for ax in ax_list:
ax.set_xlim(596, 1075)
ax.set_ylim(585, 1057)
plt.draw()
plt.show()
|