autofig.axes.Axes.consistent_with_call (method)


def consistent_with_call(self, call)

Check to see if a new autofig.call.Call would be consistent to add to this autofig.axes.Axes instance.

Cchecks include:

  • compatible units in all directions
  • compatible independent-variable (if applicable)

Arguments

Returns

  • (bool, string): whether the call is consistent, and a message describing why/why not (usually empty if returning True).