Traceback (most recent call last):


 "/home/----/Documents/code_projects/hfss-misc/icc_profiles/insert_icc_profile_into_image.py", line 17, in <module>

img.save(OUT_IMG_PATH, icc_profile=srgb_profile)


 "/home/----/.virtualenvs/color-correction/lib/python3.6/site-packages/PIL/Image.py", line 2102, in save

save_handler(self, fp, filename)


 "/home/----/.virtualenvs/color-correction/lib/python3.6/site-packages/PIL/JpegImagePlugin.py", line 706, in _save

markers.append(icc_profile[:MAX_DATA_BYTES_IN_MARKER])
TypeError: 'PIL._imagingcms.CmsProfile' object is not subscriptable

Traceback (most recent call last):



 "<ipython-input-91-7086dc4312d0>", line 1, in <module>

ax = sns.scatterplot(x='x', y=1, data=df)



 "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\_decorators.py", line 46, in inner_f

return f(**kwargs)



 "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\relational.py", line 794, in scatterplot

p = _ScatterPlotter(



 "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\relational.py", line 580, in __init__

super().__init__(data=data, variables=variables)



 "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\_core.py", line 604, in __init__

self.assign_variables(data, variables)



 "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\_core.py", line 667, in assign_variables

plot_data, variables = self._assign_variables_longform(



 "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\_core.py", line 895, in _assign_variables_longform

if val is not None and len(data) != len(val):

TypeError: object of type 'int' has no len()
