On Fri, Jul 20, 2012 at 3:20 PM, Eric Firing wrote:
> This would be defeating the basic idea: use() is *only* designed to take
> effect *once*. If you need to switch backends, it takes more than what
> use() does, hence the need for switch_backend(). (But see below.)
>
> The warn=False invocatio
On Fri, Jul 20, 2012 at 3:20 PM, Eric Firing wrote:
> On 2012/07/20 9:34 AM, Ryan May wrote:
> > Hi,
> >
> > I'm here at the SciPy sprints trying to fix switching inline/gui for
> > the ipython notebook. I've noticed something weird about
> > matplotlib.use() :
> >
> > if 'matplotlib.backend
On 2012/07/20 9:34 AM, Ryan May wrote:
> Hi,
>
> I'm here at the SciPy sprints trying to fix switching inline/gui for
> the ipython notebook. I've noticed something weird about
> matplotlib.use() :
>
> if 'matplotlib.backends' in sys.modules:
> if warn: warnings.warn(_use_error_msg)
>
Hi,
I'm here at the SciPy sprints trying to fix switching inline/gui for
the ipython notebook. I've noticed something weird about
matplotlib.use() :
if 'matplotlib.backends' in sys.modules:
if warn: warnings.warn(_use_error_msg)
return
if arg.startswith('module://'):