[statistics] imporved code style
This commit is contained in:
parent
08382f94d4
commit
e1c6c32db0
@ -304,7 +304,7 @@
|
||||
%
|
||||
\newboolean{showexercisesolutions}
|
||||
\setboolean{showexercisesolutions}{true}
|
||||
\newcommand{\exercisesolutions}{end} % 0: here, 1: chapter, 2: end
|
||||
\newcommand{\exercisesolutions}{here} % 0: here, 1: chapter, 2: end
|
||||
% we need this also as numbers:
|
||||
\ifthenelse{\equal{\exercisesolutions}{end}}{\newcommand{\exercisesolutionsnum}{2}}{%
|
||||
\ifthenelse{\equal{\exercisesolutions}{chapter}}{\newcommand{\exercisesolutionsnum}{1}}{%
|
||||
|
@ -43,7 +43,7 @@ filllw = 1.0
|
||||
fillec = colors['white']
|
||||
fillalpha = 0.4
|
||||
filledge = {'linewidth': filllw, 'joinstyle': 'round'}
|
||||
if int(mpl.__version__.split('.')[0]) < 2:
|
||||
if mpl_major < 2:
|
||||
del filledge['joinstyle']
|
||||
|
||||
# helper lines:
|
||||
|
Reference in New Issue
Block a user