
wx.lib.plot.polyobjects.PolyBars¶Creates a PolyBars object.
The data to plot.
sequence of (center, height) points
keyword attributes
Keyword and Default |
Description |
Type |
|---|---|---|
|
bar width |
float or list of floats |
|
edge color |
|
|
edge width |
float |
|
edge style |
|
|
fill color |
|
|
fill style |
|
|
legend string |
str |
Important
If barwidth is a list of floats:
each bar will have a separate width
len(barwidth) must equal len(points).
Warning
All methods except __init__ are private.
Class Hierarchy¶
Inheritance diagram for class PolyBars:

Known Superclasses¶wx.lib.plot.polyobjects.PolyBarsBase
Methods Summary¶Calculate the rectangle for plotting. |
|
Draw the bars |
Class API¶PolyBars(PolyBarsBase)¶Creates a PolyBars object.
points (sequence of (center, height) points) – The data to plot.
**attr – keyword attributes
Keyword and Default |
Description |
Type |
|---|---|---|
|
bar width |
float or list of floats |
|
edge color |
|
|
edge width |
float |
|
edge style |
|
|
fill color |
|
|
fill style |
|
|
legend string |
str |
Important
If barwidth is a list of floats:
each bar will have a separate width
len(barwidth) must equal len(points).