[SciPy-dev] Plot_utlity

Fedor Baart fedor.baart at hccnet.nl
Sun Feb 17 18:37:43 CST 2002


In module plot_utility in the calc_bound function the axis_bound
variable is not used.

496                c1 = axis_bound = (quotient + 1) * interval
497                c2 = axis_bound = (quotient) * interval

I think 

370            def auto_ticks(data_bounds, bounds_info = None):
371               if bounds_info==None:
372                  bounds_info = ['auto','auto','auto']

is a bit more elegant than:

369            default_bounds = ['auto','auto','auto']
370            def auto_ticks(data_bounds, bounds_info =
default_bounds):




More information about the Scipy-dev mailing list