Skip to content

Commit b77fb30

Browse files
committed
remove mpl defaults override
1 parent eb8cab3 commit b77fb30

File tree

1 file changed

+0
-4
lines changed
  • docs/examples/ch08NPRefinement/solutions/diffpy-cmi

1 file changed

+0
-4
lines changed

docs/examples/ch08NPRefinement/solutions/diffpy-cmi/fitCdSeNP.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# 1: Import relevant system packages that we will need...
1111
from pathlib import Path
1212

13-
import matplotlib as mpl
1413
import matplotlib.pyplot as plt
1514
import numpy as np
1615
from scipy.optimize import least_squares
@@ -445,9 +444,6 @@ def plot_results(recipe, fig_name):
445444
# Calculate the residual (difference) array and offset it vertically.
446445
diff = g - gcalc + diffzero
447446

448-
# Change some style details of the plot
449-
mpl.rcParams.update(mpl.rcParamsDefault)
450-
451447
# Create a figure and an axis on which to plot
452448
fig, ax1 = plt.subplots(1, 1)
453449

0 commit comments

Comments
 (0)