changeset 11200:abc0c6b0a4c4

Remove the call to drawnow in legend
author David Bateman <dbateman@free.fr>
date Sun, 07 Nov 2010 22:57:23 +0100
parents 91c606a68693
children 6c8791cb35b1
files scripts/ChangeLog scripts/plot/legend.m
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Sun Nov 07 22:48:50 2010 +0100
+++ b/scripts/ChangeLog	Sun Nov 07 22:57:23 2010 +0100
@@ -1,5 +1,7 @@
 2010-11-07  David Bateman  <dbateman@free.fr>
 
+	* plot/legend.m: Remove call to drawnow.
+
 	* plot/__go_draw_axes__.m: Pass the legend axes as a structure.
 	Test whether the legend axis has any children before using it.
 	* plot/__go_draw_figure.m: Setup a fake axis to handle multi-parent
--- a/scripts/plot/legend.m	Sun Nov 07 22:48:50 2010 +0100
+++ b/scripts/plot/legend.m	Sun Nov 07 22:57:23 2010 +0100
@@ -418,10 +418,6 @@
         box = "off";
       endif
       
-      ## Force the figure to be drawn here, so that the figure position
-      ## is updated correctly before reading it
-      drawnow ();
-
       ## Get axis size and fontsize in points.  
       ## Rely on listener to handle coversion.
       units = get (ca(1), "units");