how ... todo in PyPlot ?

hello,

I'm using PyPlot as a general plot module.
Now I few settings I want to make, seems to be impossible.

1. Removing the axis, or at least the numbers
( I now use the trick to make the fontsize = 1, which works quit acceptable )

2. How to change the background color
(this not just aesthetic, but it's proven that you can distinguish more different colors on a black background)
I tried
    self.plot.SetBackgroundColour ( self.CP_BG.GetColour () )
but it doesn't work :frowning:

thanks,
Stef Mientki

Hi,

You can remove the axes with PlotCanvas methods SetXSpec('none') and SetYSpec('none')

Max

Stef Mientki wrote:

···

hello,

I'm using PyPlot as a general plot module.
Now I few settings I want to make, seems to be impossible.

1. Removing the axis, or at least the numbers
( I now use the trick to make the fontsize = 1, which works quit acceptable )

2. How to change the background color
(this not just aesthetic, but it's proven that you can distinguish more different colors on a black background)
I tried
   self.plot.SetBackgroundColour ( self.CP_BG.GetColour () )
but it doesn't work :frowning:

thanks,
Stef Mientki

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Max Landaeus wrote:

Hi,

You can remove the axes with PlotCanvas methods SetXSpec('none') and SetYSpec('none')

thanks Max,
but that also removes the grid,
and in that case it's easier to use
   SetEnableGrid( True / False )
cheersm
Stef