|
From: Paul H. <pmh...@gm...> - 2014-10-07 14:52:44
|
Here's that second link for the scale: https://gist.github.com/phobson/3cc3550ce1efcc299142 On Mon, Oct 6, 2014 at 1:27 PM, Paul Hobson <pmh...@gm...> wrote: > MPL Users, > > Using [1] as a template, I built a ProbabilityScale[2] which I hope one > day will be in the statsmodels library. It still needs some work, but it's > mostly there. > > I have, what I hope is a basic question: > Do I have to register the scale in order to use it, or is there an axes > method to feed it the ProbScale class directly? > > I notice that there is an axes.xaxis._set_scale method -- but there > appears to be no "public" API way of using an unregistered scale. > > If it is the case that there's no sanctioned way of applying an > unregistered scale to an Axes object, when/where in a module is best to > register it (e.g., on import, locally within a the function/method that > needs it)? > > Cheers, > -paul > > [1] > http://matplotlib.org/examples/api/custom_scale_example.html?highlight=codex%20set_major_locator > |