IndentationError and TabError

IndentationError:

IndentationError and TabError

Reason: Although it seems that these lines are aligned, actually it is not for python.

Solution: Delete the space before the 3 lines (plt.show(), for fmap,feature_maps = ), then press tab to align. 

TabError:

IndentationError and TabError

As you can see, I enter extra space behind plt.show(), so just delete the space works for me.

 

相关文章:

  • 2021-11-22
  • 2021-06-13
  • 2021-07-12
  • 2021-07-23
  • 2021-12-31
  • 2021-06-15
  • 2021-05-06
猜你喜欢
  • 2022-01-13
  • 2021-06-04
  • 2021-06-04
  • 2021-10-02
  • 2021-09-06
  • 2021-09-12
相关资源
相似解决方案