Feature for testing the presence of dvipng - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# Feature for testing the presence of `dvipng`

sage.features.dvipng.all_features()

class sage.features.dvipng.dvipng(*args, **kwds)

  Bases: `Executable`

  A `Feature` describing the presence of `dvipng`.

  EXAMPLES:

  Sage

      sage: from sage.features.dvipng import dvipng
      sage: dvipng().is_present()             # optional - dvipng
      FeatureTestResult('dvipng', True)

  Python

      >>> from sage.all import *
      >>> from sage.features.dvipng import dvipng
      >>> dvipng().is_present()             # optional - dvipng
      FeatureTestResult('dvipng', True)