Format ticks using engineering notation
Use of the engineering Formatter.

import matplotlib.pyplot as plt
import numpy as np
from matplotlib.ticker import EngFormatter
# Fixing random state for reproducibility
Use of the engineering Formatter.

import matplotlib.pyplot as plt
import numpy as np
from matplotlib.ticker import EngFormatter
# Fixing random state for reproducibility
Total running time of the script: (0 minutes 1.728 seconds)