Comments (3)
This looks like a bug with matplotlib
and not with pyextremes
- the error occurs when figure is created. Try running the following code and post here what happens:
import matplotlib.pyplot as plt
plt.figure(figsize=(5,5), dpi=96)
I would also like to know how you installed pyextremes - looks like miniconda. Can you share your python environment (output of conda list
command)? I'd like to see versions of all packages you have there.
from pyextremes.
Thanks for the prompt to run conda list
.
When I ran your quick start example on my linux machine in an existing conda environment (which threw the error I shared and give the same error for plt.figure(figsize=(5,5), dpi=96)
), conda list
showed the following versions of matplotlib were installed:
matplotlib-base 3.5.3 py310h78c5c2f_2 conda-forge
matplotlib-inline 0.1.5 pyhd8ed1ab_0 conda-forge
I then created a fresh environment with just pyextremes and jupyter installed (conda create -n pyextreme jupyter pyextremes
) and the quick start example worked just fine. This time conda list
showed:
matplotlib-base 3.5.3 py310h78c5c2f_2 conda-forge
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
I therefore ran conda update matplotlib-inline
in my existing conda environment, which fixed the error I shared with you.
I wonder whether in the conda package for pyextremes you could require matplotlib-inline >= 1.6
? That might prevent anyone else having this same problem.
Thanks again for your help.
from pyextremes.
Glad it worked out for you. matplotlib-inline
is a jupyter
dependency and is not related to pyextremes
(even though it's convenient to use in jupyter).
This was a bug with that specific version (0.1.5) of matplotlib-inline
: ipython/matplotlib-inline#19, so I'm closing this issue.
from pyextremes.
Related Issues (20)
- What's the meaning of "ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions" HOT 10
- Add API description HOT 1
- model.get_summary and model.plot_diagnostics taking a long time HOT 9
- When getting extremes with threshold, pyextremes should warn that the threshold is too high/low HOT 1
- BUG: Results are not matched with ismev for MLE HOT 4
- Support of covariates HOT 1
- How are your confidence intervals calculated? HOT 3
- KS test gives incorrect test_statistic HOT 5
- alternative to block_size HOT 2
- Getting confidence intervals for MLE after fitting the model HOT 1
- Support for covariates HOT 2
- Long timeseries support: thinking beyond pandas datetime range HOT 3
- Extracting confidence intervals on fit parameters 'c', 'loc', and 'scale' HOT 1
- Confidence interval question HOT 3
- Error in plot_parameter_stability() HOT 3
- Multi-dimensional indexing (e.g. `obj[:, None]`) is no longer supported. Convert to a numpy array before indexing instead. HOT 3
- Error in plot_mean_residual_life for scipy v1.11.2
- Make pyextremes citable with zenodo? HOT 4
- Multiprocessing in MLE model prevents use on AWS Lambda Functions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyextremes.