I'm trying to draw a contour plot in a Tk gui with an accompanying colorbar.
The gui allows changing which contour is drawn. Some of the contours use a
different set of levels, so I'd like to update the colorbar whenever the
levels change. I don't need an automatic update -- what I'd like is to
manually specify a new set of tick locations. What is the best way to do
that? Thanks much,