Closed jacopo-chevallard closed 7 years ago
File "/Users/pcoelho/anaconda/lib/python2.7/json/decoder.py", line 380, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting property name: line 22 column 1 (char 327)
This looks like a problem with the parsing of the JSON file, you can use this site https://jsonlint.com/ to check that the JSON file syntax is correct
\lambda_\textnormal{eff} / \textnormal{\AA}
This is a problem with LaTeX, can you check if your matplotlib configuration file (normally in ~/.matplotlib/matplotlibrc
) contains the line
text.usetex : True
many thanks. i’ll check both things and get back to you here.
This is a problem with LaTeX, can you check if your matplotlib configuration file (normally in >~/.matplotlib/matplotlibrc) contains the line
text.usetex : True
Indeed I haven't. For some reason .matplotlib/matplotlibrc
is being ignored. So I had to correct it at /home/beagle/anaconda2/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
.
I did, then I got the message
UserWarning: matplotlibrc text.usetex can not be used with *Agg backend unless dvipng-1.5 or later is installed on your system
I installed, then pyp-beagle --plot-marginal
run without complaining.
i'll look at the json file now.
This looks like a problem with the parsing of the JSON file, you can use this site https://jsonlint.com/ to check that the JSON file syntax is correct
correct, there was a mistake in the json that the site helped me locate. so this is fixed, a few triangles plot generated (nice plots btw).
many thanks. closing this.
@prtc writes