I was treatting a pressure distribution over airfoil file ("X" x "CP" ) inside a pandas dataframe. When I tried to verify the results. Then I performed a simple plot directelly from the dataframe
the lst_splt list is something like this:
lst_splt = [['0.01','0.03'], ['0.02','0.06'],...]
it was obtained using XFOIL (a pannel method file) ant is on this format:
File "/home/alvaro/anaconda3/lib/python3.8/site-packages/spyder/plugins/plots/widgets/figurebrowser.py", line 421, in _handle_new_figure
self.thumbnails_sb.add_thumbnail(fig, fmt)
File "/home/alvaro/anaconda3/lib/python3.8/site-packages/spyder/plugins/plots/widgets/figurebrowser.py", line 866, in add_thumbnail
self.set_current_thumbnail(thumbnail)
File "/home/alvaro/anaconda3/lib/python3.8/site-packages/spyder/plugins/plots/widgets/figurebrowser.py", line 942, in set_current_thumbnail
thumbnail.highlight_canvas(thumbnail == self.current_thumbnail)
File "/home/alvaro/anaconda3/lib/python3.8/site-packages/spyder/plugins/plots/widgets/figurebrowser.py", line 1035, in highlight_canvas
qdarkstyle.palette.DarkPalette.COLOR_SELECTION_LIGHT
AttributeError: module 'qdarkstyle.palette' has no attribute 'DarkPalette'
WARNING:spyder.widgets.github.backend:Failed to send bug report on Github. response={'code': 401, 'json': {'message': 'Bad credentials', 'documentation_url': 'https://docs.github.com/rest'}}
Description
What steps will reproduce the problem?
I was treatting a pressure distribution over airfoil file ("X" x "CP" ) inside a pandas dataframe. When I tried to verify the results. Then I performed a simple plot directelly from the dataframe
the lst_splt list is something like this:
lst_splt = [['0.01','0.03'], ['0.02','0.06'],...]
it was obtained using XFOIL (a pannel method file) ant is on this format:
"""
x Cp
(this file is extense and will not be completely described herein) ... """
reading the file
fl = open(cp_fl,'r') lst = fl.readlines() lst_splt = [ s.replace('#','').split() for s in lst]
creating a dataframe
cp = pd.DataFrame(lst_splt[1:], columns=lst_splt[:1], dtype=float)
checking data
cp.plot()
Traceback
Versions
Dependencies