File tree Expand file tree Collapse file tree 5 files changed +32
-15
lines changed
Expand file tree Collapse file tree 5 files changed +32
-15
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
33#
4- # diffpy.srxplanar documentation build configuration file, created by # noqa: E501
4+ # diffpy.srxplanar documentation build configuration file, created by
55# sphinx-quickstart on Thu Jan 30 15:49:41 2014.
66#
77# This file is execfile()d with the current directory set to its
2222try :
2323 fullversion = version ("diffpy.srxplanar" )
2424except Exception :
25- fullversion = "No version found. The correct version will appear in the released version." # noqa: E501
25+ fullversion = "No version found. The correct version will appear in the released version."
2626
2727# If extensions (or modules to document with autodoc) are in another directory,
2828# add these directories to sys.path here. If the directory is relative to the
29- # documentation root, use Path().resolve() to make it absolute, like shown here. # noqa: E501
29+ # documentation root, use Path().resolve() to make it absolute, like shown here.
3030# sys.path.insert(0, str(Path(".").resolve()))
3131sys .path .insert (0 , str (Path ("../.." ).resolve ()))
3232sys .path .insert (0 , str (Path ("../../src" ).resolve ()))
Original file line number Diff line number Diff line change 1+ **Added: **
2+
3+ * No news added: Removed noqa comments
4+
5+ **Changed: **
6+
7+ * <news item>
8+
9+ **Deprecated: **
10+
11+ * <news item>
12+
13+ **Removed: **
14+
15+ * <news item>
16+
17+ **Fixed: **
18+
19+ * <news item>
20+
21+ **Security: **
22+
23+ * <news item>
Original file line number Diff line number Diff line change 11from functools import partial
22
33import numpy as np
4- from matplotlib import rcParams
54from scipy .optimize import leastsq , minimize
65
7- rcParams ["backend" ] = "Qt4Agg"
86try :
9- import PySide # noqa: F401
7+ from matplotlib import rcParams
108
11- rcParams ["backend.qt4 " ] = "PySide "
9+ rcParams ["backend" ] = "QtAgg "
1210 import matplotlib .pyplot as plt
1311
1412 mplenabled = True
1513except ImportError :
16- try :
17- import matplotlib .pyplot as plt
18-
19- mplenabled = True
20- except ImportError :
21- mplenabled = False
14+ mplenabled = False
2215
2316
2417def halfcut (
Original file line number Diff line number Diff line change 505505
506506
507507class SrXplanarConfig (ConfigBase ):
508- """Config class, based on ConfigBase class in diffpy.srxconfutils."""
508+ """Config class, based on ConfigBase class in
509+ diffpy.srxconfutils."""
509510
510511 # Text to display before the argument help
511512 _description = _description
Original file line number Diff line number Diff line change 77# File coded by: Xiaohao Yang, Simon Billinge, Billinge Group members.
88#
99# See GitHub contributions for a more detailed list of contributors.
10- # https://github.com/diffpy/diffpy.srxplanar/graphs/contributors # noqa: E501
10+ # https://github.com/diffpy/diffpy.srxplanar/graphs/contributors
1111#
1212# See LICENSE.rst for license information.
1313#
You can’t perform that action at this time.
0 commit comments