Fix bug with matplotlib > 3.4.3
In newer versions of matplotlib, the autoscale was not working. Changing "autoscale" to False simply fixes the bug...
This commit is contained in:
parent
bbc8a92382
commit
c455b3bdfa
|
@ -17,8 +17,8 @@
|
|||
# along with this msspec. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Source file : src/msspec/calculator.py
|
||||
# Last modified: Wed, 09 Feb 2022 19:08:22 +0100
|
||||
# Committed by : Sylvain Tricot <sylvain.tricot@univ-rennes1.fr>
|
||||
# Last modified: Tue, 25 Oct 2022 16:21:38 +0200
|
||||
# Committed by : Sylvain Tricot <sylvain.tricot@univ-rennes1.fr> 1666707698 +0200
|
||||
|
||||
|
||||
"""
|
||||
|
@ -749,7 +749,7 @@ class _PED(_MSCALCULATOR):
|
|||
|
||||
view = dset.add_view("E = {:.2f} eV".format(ke), title=title,
|
||||
xlabel=xlabel, ylabel=ylabel,
|
||||
projection='stereo', colorbar=True, autoscale=True)
|
||||
projection='stereo', colorbar=True, autoscale=False)
|
||||
view.select('theta', 'phi', 'cross_section')
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ ase
|
|||
h5py
|
||||
ipython
|
||||
lxml
|
||||
matplotlib==3.4.3
|
||||
matplotlib
|
||||
numpy
|
||||
Pint
|
||||
pandas
|
||||
|
|
Loading…
Reference in New Issue