[Python] PyXspec crash kernell when plotting

Discussão em 'Python' iniciado por Stack, Junho 18, 2025.

  1. Stack

    Stack Membro Participativo

    I am new to Xspec and have been trying to use it for the past few days. I intend to use PyXspec for my future analysis. However, whenever I tried to plot with xspec.Plot("data") or any plotting, the kernell crash. Aside from plot, everything works just well including model and fitting. I wonder if anyone has ever encountered this issue and how do I solve it.

    For context: I am using MacOS Sequoia 15.0; aarch64-apple-darwin24.0.0; heasoft-6.35.1; PyXspec version: 2.1.4; and XSPEC version: 12.15.0.

    More context: I tried to use the same exact code in terminal python and it works just fine... but it just doesn't work in jupyter

    Thank you in advance!

    Continue reading...

Compartilhe esta Página