On Wednesday, September 19, 2012, Adam Davis wrote:
> If I do:
>
> bar(range(3), [1,0,2])
>
> ... then I get 2 bars of a suitable width for a 3 bar chart, with a gap in
> between where the middle bar would be if not equal to 0. Yet if I do:
>
> bar(range(3), [1,2,0])
>
> ... then I get two bars of equal width. Is there a way to preserve the
> space for the missing bar?
>
This is an autoscaling issue, I think. Your best bet is to explicitly set
the x limits yourself.
Cheers,
Ben Root
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users