Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit037e6ed
committed
Move AxisArtistHelpers to toplevel.
The axisartist has a concept of "axis_artist_helper", which computesvarious computations to draw slanted/curved axises. Confusingly,`AxisArtistHelper` (and likewise `AxisArtistHelperRectlinear`) do *not*define such helper classes; they are simply namespaces that hold the`{AxisArtistHelper,AxisArtistHelperRectlinear}.{Fixed,Floating}` nestedclasses which *do* define helpers. More specifically,`AxisArtistHelper.{Fixed,Floating}` act as abstract base classes for`AxisArtistHelperRectlinear.{Fixed,Floating}` which are actually usable.In order to slightly disentangle this move the actual helper classes tothe toplevel (as `_{Fixed,Floating}AxisArtistHelperBase` and`_{Fixed,Floating}AxisArtistHelperRectlinear`), keeping the old"purely namespace" classes around for backcompat. (But note that endusers should never have to directly interact with these classes anyways-- normally, they only construct GridHelpers which take care of theinteraction with AxisArtistHelpers; see e.g. the various axisartistexamples.)More simply, this commit simply dedents most of the definitions of theHelper classes.1 parent6aaec5a commit037e6ed
File tree
2 files changed
+201
-190
lines changed- lib/mpl_toolkits/axisartist
2 files changed
+201
-190
lines changed0 commit comments
Comments
(0)