User Tools

Site Tools


python

**This is an old revision of the document!**

Plot (matplotlib)

py37-matplotlib has the following notes:
  The default backend is the interactive Mac OS X backend. Different backends can be specified using the
  ~/.matplotlib/matplotlibrc file. More details regarding backends can be found in the matplotlib FAQ:
  
  https://matplotlib.org/tutorials/introductory/usage.html#backends
  

Common Error

  File "main.py", line 15
  self.sat = (cMax - cMin)/(1-abs(2*self.lum-1))
                                               ^
  TabError: inconsistent use of tabs and spaces in indentation
python.1578026204.txt.gz · Last modified: 2020/01/03 12:36 by admin