diff --git a/CHANGELOG.md b/CHANGELOG.md index b08c656..3a32e13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Release notes +## Version 2024.2.1 + +### Changes + +- PowderPattern: + - fix re-using a matplotlib figure when plotting + - add 'figure' property + ## Version 2024.2 ### Changes diff --git a/setup.py b/setup.py index 422aa88..f5fd19e 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ # Use this version when git data are not available as in a git zip archive. # Update when tagging a new release. -FALLBACK_VERSION = '2024.2' +FALLBACK_VERSION = '2024.2.1' # define extension arguments here ext_kws = { diff --git a/src/pyobjcryst/__init__.py b/src/pyobjcryst/__init__.py index ac63a72..3065744 100644 --- a/src/pyobjcryst/__init__.py +++ b/src/pyobjcryst/__init__.py @@ -17,7 +17,7 @@ Objects are wrapped according to their header file in the ObjCryst source. -See the online ObjCryst++ documentation (https://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Modules diff --git a/src/pyobjcryst/atom.py b/src/pyobjcryst/atom.py index 31458f9..7d480a1 100644 --- a/src/pyobjcryst/atom.py +++ b/src/pyobjcryst/atom.py @@ -15,7 +15,7 @@ """Python wrapping of Atom.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::Atom diff --git a/src/pyobjcryst/crystal.py b/src/pyobjcryst/crystal.py index 9f87948..a2864d6 100644 --- a/src/pyobjcryst/crystal.py +++ b/src/pyobjcryst/crystal.py @@ -15,7 +15,7 @@ """Python wrapping of Crystal.h. -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::Crystal diff --git a/src/pyobjcryst/diffractiondatasinglecrystal.py b/src/pyobjcryst/diffractiondatasinglecrystal.py index c1bb72d..011302c 100644 --- a/src/pyobjcryst/diffractiondatasinglecrystal.py +++ b/src/pyobjcryst/diffractiondatasinglecrystal.py @@ -15,7 +15,7 @@ """Python wrapping of DiffractionDataSingleCrystal.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::DiffractionDataSingleCrystal:: In development ! diff --git a/src/pyobjcryst/general.py b/src/pyobjcryst/general.py index aad9d7a..d5d50b6 100644 --- a/src/pyobjcryst/general.py +++ b/src/pyobjcryst/general.py @@ -15,7 +15,7 @@ """Python wrapping of things from General.h. -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). """ __all__ = ["RadiationType", "ObjCrystException", "WavelengthType"] diff --git a/src/pyobjcryst/globaloptim.py b/src/pyobjcryst/globaloptim.py index 2b641f5..a37894a 100644 --- a/src/pyobjcryst/globaloptim.py +++ b/src/pyobjcryst/globaloptim.py @@ -12,7 +12,7 @@ """Python wrapping of GlobalOptimObj.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::MonteCarloObj:: In development ! diff --git a/src/pyobjcryst/indexing.py b/src/pyobjcryst/indexing.py index 1e171a9..47138e7 100644 --- a/src/pyobjcryst/indexing.py +++ b/src/pyobjcryst/indexing.py @@ -15,7 +15,7 @@ """Python wrapping of UnitCell.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). """ __all__ = ["CrystalSystem", "CrystalCentering", "EstimateCellVolume", diff --git a/src/pyobjcryst/io.py b/src/pyobjcryst/io.py index ff5a963..2b34b62 100644 --- a/src/pyobjcryst/io.py +++ b/src/pyobjcryst/io.py @@ -15,7 +15,7 @@ """Python wrapping of IO.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::XMLCrystTag - The istream constructor of XMLCrystTag is not wrapped. diff --git a/src/pyobjcryst/lsq.py b/src/pyobjcryst/lsq.py index e2fa656..c95b882 100644 --- a/src/pyobjcryst/lsq.py +++ b/src/pyobjcryst/lsq.py @@ -12,7 +12,7 @@ """Python wrapping of LSQNumObj.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::LSQNumObj:: In development ! diff --git a/src/pyobjcryst/molecule.py b/src/pyobjcryst/molecule.py index a57e012..5151c86 100644 --- a/src/pyobjcryst/molecule.py +++ b/src/pyobjcryst/molecule.py @@ -15,7 +15,7 @@ """Python wrapping of Molecule.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::Molecule diff --git a/src/pyobjcryst/polyhedron.py b/src/pyobjcryst/polyhedron.py index 5a363ec..9a703b0 100644 --- a/src/pyobjcryst/polyhedron.py +++ b/src/pyobjcryst/polyhedron.py @@ -15,7 +15,7 @@ """Python wrapping of Polyhedron.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). """ __all__ = ["MakeTetrahedron", "MakeOctahedron", "MakeSquarePlane", diff --git a/src/pyobjcryst/powderpattern.py b/src/pyobjcryst/powderpattern.py index f4a5883..517c277 100644 --- a/src/pyobjcryst/powderpattern.py +++ b/src/pyobjcryst/powderpattern.py @@ -12,7 +12,7 @@ """Python wrapping of PowderPattern.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io/en/latest/). Changes from ObjCryst::PowderPattern:: Additional functions for plotting, basic QPA and profile fitting. diff --git a/src/pyobjcryst/radiation.py b/src/pyobjcryst/radiation.py index f030af8..bcf6d7b 100644 --- a/src/pyobjcryst/radiation.py +++ b/src/pyobjcryst/radiation.py @@ -12,7 +12,7 @@ """Python wrapping of Radiation from ScatteringData.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::Radiation:: In development ! diff --git a/src/pyobjcryst/refinableobj.py b/src/pyobjcryst/refinableobj.py index f4eb77f..41fdbe5 100644 --- a/src/pyobjcryst/refinableobj.py +++ b/src/pyobjcryst/refinableobj.py @@ -15,7 +15,7 @@ """Python wrapping of RefinableObj.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::RefinableObj diff --git a/src/pyobjcryst/reflectionprofile.py b/src/pyobjcryst/reflectionprofile.py index 27dafb1..76e1f65 100644 --- a/src/pyobjcryst/reflectionprofile.py +++ b/src/pyobjcryst/reflectionprofile.py @@ -12,7 +12,7 @@ """Python wrapping of PowderPattern.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::ReflectionProfile:: In development ! diff --git a/src/pyobjcryst/scatterer.py b/src/pyobjcryst/scatterer.py index 8e9499c..4de18e4 100644 --- a/src/pyobjcryst/scatterer.py +++ b/src/pyobjcryst/scatterer.py @@ -15,7 +15,7 @@ """Python wrapping of Scatterer.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::Scatterer diff --git a/src/pyobjcryst/scatteringdata.py b/src/pyobjcryst/scatteringdata.py index 2d770d8..5714b62 100644 --- a/src/pyobjcryst/scatteringdata.py +++ b/src/pyobjcryst/scatteringdata.py @@ -15,7 +15,7 @@ """Python wrapping of ScatteringData class. -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). """ __all__ = ["ScatteringData"] diff --git a/src/pyobjcryst/scatteringpower.py b/src/pyobjcryst/scatteringpower.py index 811ecaf..fddb1d0 100644 --- a/src/pyobjcryst/scatteringpower.py +++ b/src/pyobjcryst/scatteringpower.py @@ -15,7 +15,7 @@ """Python wrapping of ScatteringPower.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::ScatteringComponent - Added attributes X, Y, Z, Occupancy to conform to MolAtom. diff --git a/src/pyobjcryst/scatteringpowersphere.py b/src/pyobjcryst/scatteringpowersphere.py index c58fc63..ef81449 100644 --- a/src/pyobjcryst/scatteringpowersphere.py +++ b/src/pyobjcryst/scatteringpowersphere.py @@ -15,7 +15,7 @@ """Python wrapping of ScatteringPowerSphere.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). """ __all__ = ["ScatteringPowerSphere"] diff --git a/src/pyobjcryst/spacegroup.py b/src/pyobjcryst/spacegroup.py index 95b59bc..72063dc 100644 --- a/src/pyobjcryst/spacegroup.py +++ b/src/pyobjcryst/spacegroup.py @@ -15,7 +15,7 @@ """Python wrapping of SpaceGroup.h. -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). """ __all__ = ["SpaceGroup", "AsymmetricUnit"] diff --git a/src/pyobjcryst/unitcell.py b/src/pyobjcryst/unitcell.py index 4a76d9e..416d4fa 100644 --- a/src/pyobjcryst/unitcell.py +++ b/src/pyobjcryst/unitcell.py @@ -15,7 +15,7 @@ """Python wrapping of UnitCell.h -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). """ __all__ = ["UnitCell"] diff --git a/src/pyobjcryst/zscatterer.py b/src/pyobjcryst/zscatterer.py index 38e7ab4..e8935ea 100644 --- a/src/pyobjcryst/zscatterer.py +++ b/src/pyobjcryst/zscatterer.py @@ -15,7 +15,7 @@ """Python wrapping of Zscatterer. -See the online ObjCryst++ documentation (http://vincefn.net/ObjCryst/). +See the online ObjCryst++ documentation (https://objcryst.readthedocs.io). Changes from ObjCryst::ZAtom - XMLOutput and Input are not wrapped.