Index: /issm/trunk-jpl/src/m/plot/applyoptions.js
===================================================================
--- /issm/trunk-jpl/src/m/plot/applyoptions.js	(revision 19847)
+++ /issm/trunk-jpl/src/m/plot/applyoptions.js	(revision 19848)
@@ -157,5 +157,5 @@
 				ccanvas.width(cheight+cheightoffset);	
 				ccanvas.css({'position':'relative','top':((canvassize-cheight-cheightoffset)/-2).toFixed(2)+'px'});
-				ccontext = ccanvas.getContext('2d');
+				ccontext = ccanvas[0].getContext('2d');
 				/*erase existing colorbar:*/
 				ccontext.clearRect(0,0, cwidth*4, cheight+cheightoffset);
