HOME/Articles/

matplotlib example optimization imports (snippet)

Article Outline

Python matplotlib example 'optimization imports'

Modules used in program:

  • import numpy as np
  • import matplotlib.colors
  • import matplotlib.pyplot as plt

python optimization imports

Python matplotlib example: optimization imports

from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt

from matplotlib import cm
import matplotlib.colors

from matplotlib import animation, rc
from IPython.display import HTML

import numpy as np