|
From: Paul H. <pmh...@gm...> - 2014-10-06 20:27:22
|
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 |