你的截图里面确实没有看到定义colNames的地方。建议参考一下文章: https://vimsky.com/examples/detail/python-ex-holoviews-Columns---class.html