Code Monkey home page Code Monkey logo

Comments (12)

PeterRochford avatar PeterRochford commented on August 22, 2024 2

The capability to plot target and taylor diagrams inside matplotlib's subplots is now available in SkillMetrics 1.2.1 (released 9/5/2022). Refer to the following examples that use this capability:

Target Diagram Example 9
Taylor Diagram Example 14

from skillmetrics.

pierreloicq avatar pierreloicq commented on August 22, 2024

For people of the future:
It worked for me, you need something like this in your loop:
ax[rowIndexInYourSubplot, colIndexInYourSubplot] = plt.subplot( numberOfRows, numberOfCols, posOfCurrentSubplot )
Maybe it works also with a "one index" subplot (only 1 row or 1 col), cfr subplot doc

from skillmetrics.

collinsowusu avatar collinsowusu commented on August 22, 2024

"pip install SkillMetrics --upgrade" doesn't install the latest update (1.2.1). It still installs version 1.1.8

I tried specifying the version to install but got this error:
"No matching distribution found for SkillMetrics==1.2.1"

from skillmetrics.

PeterRochford avatar PeterRochford commented on August 22, 2024

from skillmetrics.

collinsowusu avatar collinsowusu commented on August 22, 2024

Hello Peter,

I use Python 3. I have uninstalled the previous version and even purged pip's cache but it still installs version 1.1.8.

Below is the results of my installation process:
image

from skillmetrics.

PeterRochford avatar PeterRochford commented on August 22, 2024

Perhaps there is a conflict with anaconda3 which you appear to have installed on your computer. I don't use anaconda, but according to my internet search you need to start anaconda and then install from within that environment. The steps appear to be:

  1. Open Anaconda Command prompt as administrator
  2. pip install SkillMetrics

I hope this helps.

from skillmetrics.

collinsowusu avatar collinsowusu commented on August 22, 2024

Hello Peter,

Thanks for your help. I installed it within my working environment but it didn't resolve the problem.

I downloaded the SkillMetrics code from the repository and imported it directly, which works for me.

I still don't know why the pip install is not working for me.

from skillmetrics.

PeterRochford avatar PeterRochford commented on August 22, 2024

Thank you for the update. Since you've solved your problem I will now close this issue.

from skillmetrics.

ogunjosam avatar ogunjosam commented on August 22, 2024

Hello Peter,

Thanks for your help. I installed it within my working environment but it didn't resolve the problem.

I downloaded the SkillMetrics code from the repository and imported it directly, which works for me.

I still don't know why the pip install is not working for me.

Hello @collinsowusu ,

I am currently having the same issue with installing SkillMetrics -1.2.1 using Google Colab. Can you share the process of downloading and importing the code directly?

All attempts to install version 1.2.1 failed.

Thank you.

from skillmetrics.

collinsowusu avatar collinsowusu commented on August 22, 2024

Hello @ogunjosam,

Open the SkillMetrics code repository and download the code as zip. Unzip and copy the skill_metrics folder to the location of your code.

You can then do: "import skill_metrics as sm"
Python will first look at the package folder at your code location before it will search in any other location on your computer so it will import the from the folder you downloaded.

Collins

from skillmetrics.

ogunjosam avatar ogunjosam commented on August 22, 2024

Hello @ogunjosam,

Open the SkillMetrics code repository and download the code as zip. Unzip and copy the skill_metrics folder to the location of your code.

You can then do: "import skill_metrics as sm" Python will first look at the package folder at your code location before it will search in any other location on your computer so it will import the from the folder you downloaded.

Collins

Thank you so much.

from skillmetrics.

PeterRochford avatar PeterRochford commented on August 22, 2024

@collinsowusu: Thank you for posting a solution. I've added it to the FAQ under Installation Issues as Q2.

from skillmetrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.