I am using intro_to_DESI_EDR_files_colab.ipynb on google colab to familiarise myself with DESI data.
On running the 6th import cell, errors are reported.
What I did was just executing the previous cells. I ensured current working directory was /content where desi.mplstyle was downloaded to. Matplotlib is in version 3.7.1
The cell is
import os
import numpy as np
from astropy.io import fits
from astropy.table import Table
from astropy.convolution import convolve, Gaussian1DKernel
import matplotlib
import matplotlib.pyplot as plt
plt.style.use('desi.mplstyle')
Error report is as following:
WARNING:matplotlib:Missing colon in file 'desi.mplstyle', line 682 (' >')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-10-8fac1844082e> in <cell line: 12>()
10 import matplotlib.pyplot as plt
11
---> 12 plt.style.use('desi.mplstyle')
2 frames
/usr/local/lib/python3.10/dist-packages/matplotlib/cbook/__init__.py in _strip_comment(s)
423 closing_quote_pos = s.find('"', quote_pos + 1)
424 if closing_quote_pos < 0:
--> 425 raise ValueError(
426 f"Missing closing quote in: {s!r}. If you need a double-"
427 'quote inside a string, use escaping: e.g. "the \" char"')
ValueError: Missing closing quote in: ' <!-- \'"` --><!-- </textarea></xmp> --></option></form><form id="query-builder-test-form" action="" accept-charset="UTF-8" method="get">\n'. If you need a double-quote inside a string, use escaping: e.g. "the " char"
Hi there!
I am using intro_to_DESI_EDR_files_colab.ipynb on google colab to familiarise myself with DESI data. On running the 6th import cell, errors are reported. What I did was just executing the previous cells. I ensured current working directory was /content where desi.mplstyle was downloaded to. Matplotlib is in version 3.7.1
The cell is
Error report is as following: