Edwin A. Suominen
Books
Blog
Photography
Software
yampex API Documentation

Class Hierarchy

  • list
    • yampex.helper.Pairs - A slightly improved list for holding Pair objects.
  • object
    • yampex.adjust.Adjuster - I do the hard work of trying to intelligently adjust white space around and in between subplots.
    • yampex.adjust.HeightComputer - I compute vertical (height) spacings for an Adjuster instance adj.
    • yampex.adjust.TextSizeComputer - I compute dimensions of text strings and Matplotlib text objects, using my default DPI of 100 or a different one you supply in my constructor.
    • yampex.annotate.Annotator - I manage the annotations for all axes in a single subplot. You'll need an instance of me for each subplot that contains annotations.
    • yampex.annotate.DebugBoxer - I draw a colored box at to visually represent RectangleRegion instances for debugging purposes.
    • yampex.annotate.PositionEvaluator - Use an instance of me to evaluate the overlap score of a proposed position of an annotation, based on subplot data, boundaries, and the positions of all other annotations in the subplot.
    • yampex.annotate.RectangleRegion - I am a rectangular plot region where an annotation or textbox is or might go.
    • yampex.annotate.Sizer - I try to provide accurate sizing of annotations. Call my instance with a Matplotlib annotation object to get an estimate of its dimensions in pixels.
    • yampex.examples.annotate-simple.Figure - Undocumented
    • yampex.examples.annotate.Figure - Undocumented
    • yampex.examples.exponential.CurvePlotter - I do the plotting.
    • yampex.examples.make_png.SinCos - Undocumented
    • yampex.examples.mosfet_cdg.CurvePlotter - I do the plotting.
    • yampex.examples.mosfet_n.CurvePlotter - I do the plotting.
    • yampex.examples.mosfet_vdsp.CurvePlotter - I do the plotting.
    • yampex.examples.mosfet_vdsp.MOSFET - I model a few aspects of an N-channel MOSFET.
    • yampex.helper.Pair - I represent the information for one X, Y pair of vectors in a plotting call.
    • yampex.helper.PlotHelper - I help with plotting calls for a single subplot.
    • yampex.options.Opts - I am a dict-like object of options. I make it easy to override global options with local ones just for the present subplot, and provide a few useful methods.
    • yampex.options.OptsBase - I am an abstract base class with the option setting methods of the Plotter.
      • yampex.plot.Plotter - I provide a Matplotlib Figure with one or more time-vector and XY subplots of Numpy vectors.
    • yampex.plot.Dims - I store dimensions of things for each subplot. If my debug class attribute is set True, I print info about what's being set and get for debugging purposes.
    • yampex.plot.PlotterHolder - Plotter uses a class-wide instance of me to hold weak references to its instances.
    • yampex.scaling.Scaler - Multiples go like this: 1000, 500, 200, 100, 50, 20, 10, 5, 1, 0.5, ...
    • yampex.subplot.SpecialAx - I pretend to be the matplotlib.Axes that I'm constructed with except that I intercept plotting calls and have a few extra methods.
    • yampex.subplot.Subplotter - I handle your subplots, boundary setting and ticks. A Plotter instance constructs me with a reference to itself and an integer number of columns and rows.
    • yampex.test.test_annotate.MockAnnotation - A mock Matplotlib Annotation object pointing to a data-point location of x, y, centered at an offet of dx, dy pixels.
    • yampex.test.test_annotate.MockAxes - A stand-in for the Matplotlib Axes object.
    • yampex.test.test_annotate.MockBBox - A mock Matplotlib bounding box for a MockAnnotation or window extents of a MockAxes.
    • yampex.test.test_annotate.MockFigure - A stand-in for the Matplotlib Figure object. I have a 10-pixel border around my single fake subplot, resulting in dimensions of 520x520 pixels.
    • yampex.textbox.TextBoxMaker - I make one or more text boxes for a subplot Axes object or an entire Figure.
  • twisted.trial.unittest.TestCase
    • yampex.test.test_annotate.Test_PositionEvaluator - Unit tests for PositionEvaluator.
    • yampex.test.test_annotate.Test_RectangleRegion - Unit tests for RectangleRegion.

Copyright © 2015-2021 Edwin A. Suominen.

Privacy policy: I don’t sniff out, track, or share anything identifying individual visitors to this site. There are no cookies or anything in place to let me see where you go on the Internet–that’s creepy. All I get (like anyone else with a web server), is plain vanilla server logs with “referral” info about which web page sent you to this one.