Skip to content

Commit 35f81d4

Browse files
committed
Fix flake8
1 parent c90f139 commit 35f81d4

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed

Diff for: news/morphpy.rst

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
**Added:**
2+
3+
* Python interfacing to call PDFmorph
4+
* Returns dictionary of morph metrics (dict) and the r, gr pair for plotting or further manipulation
5+
6+
**Changed:**
7+
8+
* <news item>
9+
10+
**Deprecated:**
11+
12+
* <news item>
13+
14+
**Removed:**
15+
16+
* <news item>
17+
18+
**Fixed:**
19+
20+
* <news item>
21+
22+
**Security:**
23+
24+
* <news item>

Diff for: src/diffpy/morph/morphpy.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env python
22

3-
from pathlib import Path
4-
53
from diffpy.morph.morphapp import (
64
create_option_parser,
75
multiple_morphs,

Diff for: src/diffpy/morph/plot.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def plotPDFs(pairlist, labels=None, offset="auto", rmin=None, rmax=None):
3434
Iterable of names for the pairs. If this is not the same length as
3535
the pairlist, a legend will not be shown (default []).
3636
offset
37-
Offset to place between plots. Functions will be sequentially shifted in
38-
the y-direction by the offset. If offset is 'auto' (default), the
37+
Offset to place between plots. Functions will be sequentially shifted
38+
in the y-direction by the offset. If offset is 'auto' (default), the
3939
optimal offset will be determined automatically.
4040
rmin
4141
The minimum r-value to plot. If this is None (default), the lower
@@ -82,8 +82,8 @@ def comparePDFs(
8282
):
8383
"""Plot two functions on top of each other and difference curve.
8484
85-
The second function will be shown as blue circles below and the first as a red
86-
line. The difference curve will be in green and offset for clarity.
85+
The second function will be shown as blue circles below and the first as
86+
a red line. The difference curve will be in green and offset for clarity.
8787
8888
Parameters
8989
----------

0 commit comments

Comments
 (0)