For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

cerebro.plot() lead to system crash?



  • For some unknown causes, when executing my python script with cerebro.plot in the end, the running script will crash. when I remove it, everything is fine. when it crashes, it throws me a report, which I made a copy in the link...(too long, cannot paste it as text here), which I don't quite understand. Sorry if this question is stupid, I am not a professional developer but an end user of the platform. So if the question is stupid, forgive me.

    https://justpaste.it/27omh



  • Okay, just figured out the problem.
    It's just matplotlib crashing on Mac OS
    In case anyone encounters the exact same issue as me, look up this link for solution

    https://github.com/MTG/sms-tools/issues/36

    Easiest solution is to just type this into terminal:
    $ mkdir -p ~/.matplotlib
    $ echo "backend: TkAgg" > ~/.matplotlib/matplotlibrc

    0_1548947138070_07b5669c-684c-4c31-b2e7-fef5c18915f0-image.png


Log in to reply
 

});