Why is: print([float(a.get_text()) for a in cb.ax.xaxis.get_ticklabels()]) giving me: ValueError: could not convert string to float: '−4.0' where cb is an instance of ColorBar Continue reading...