plot control

Dear Experts.

I have been trying to modify plot properties of taylor diagram from below package. I wanted to make markerfacecolor as None( this allows me to show symbols which falls over another) of s as possible in normal matplotlib plots but I am not sure how to pass the argument in modified figure environment of taylor plot. If I try to use markerfacecolor option the code says it do not know about such option. I was also checking it is possible specify alpha= n so that the color intensity of symbol can be modified. But both options are not working or I am not putting it in proper way in such situation.
Please advice if it is possible.

Sudheer

https://pypi.python.org/packages/1e/98/d6d5d9200fcec4fdbd20f0f084b6e41e176284786315449cc0c896a411e8/SkillMetrics-1.1.2.tar.gz#md5=7d5e7200375b1c5e1c4fb8344624be67

sm.taylor_diagram(sdev,crmsd,ccoef,markerLabel=label,markerLegend = ‘on’,markerobs=‘v’,markerfacecolor=‘None’,s
…: tyleOBS=’-’,colOBS=‘r’,titleobs=‘RAMA_SST’)

···

ValueError Traceback (most recent call last)
in ()
----> 1 sm.taylor_diagram(sdev,crmsd,ccoef,markerLabel=label,markerLegend = ‘on’,markerobs=‘v’,markerfacecolor=‘None’,styleOBS=’-’,colOBS=‘r’,titleobs=‘RAMA_SST’)

/usr/local/lib/python2.7/dist-packages/skill_metrics/taylor_diagram.pyc in taylor_diagram(*args, **kwargs)
71
72 # Get options
—> 73 option = get_taylor_diagram_options(CORs,**kwargs)
74 # print option # debug
75 #

/usr/local/lib/python2.7/dist-packages/skill_metrics/get_taylor_diagram_options.pyc in get_taylor_diagram_options(*args, **kwargs)
177 optname = optname.lower()
178 if not optname in option:
–> 179 raise ValueError('Unrecognized option: ’ + optname)
180 else:
181 # Replace option value with that from arguments

ValueError: Unrecognized option: markerfacecolor

*************************************************************** Sudheer Joseph Indian National Centre for Ocean Information Services Ministry of Earth Sciences, Govt. of India POST BOX NO: 21, IDA Jeedeemetla P.O. Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), Tel:+91-40-23044600®,Tel:+91-40-9440832534(Mobile) E-mail:sjo.India@…287…;sudheer.joseph@…9… Web- http://oppamthadathil.tripod.com ***************************************************************

This would seem like a bug in that package’s code. The traceback shows that it is performing its own check on the passed in kwargs, and failing to recognize it as a valid argument. I suggest contacting the maintainers of the “skill_metrics” package and find out from them if there is a bug in their package. I am unfamiliar with this package, so I can’t say anything for certain.

Cheers!

Ben Root

···

On Wed, Apr 19, 2017 at 11:47 AM, Sudheer Joseph <sudheer.joseph@…9…> wrote:

Dear Experts.

I have been trying to modify plot properties of taylor diagram from below package. I wanted to make markerfacecolor as None( this allows me to show symbols which falls over another) of s as possible in normal matplotlib plots but I am not sure how to pass the argument in modified figure environment of taylor plot. If I try to use markerfacecolor option the code says it do not know about such option. I was also checking it is possible specify alpha= n so that the color intensity of symbol can be modified. But both options are not working or I am not putting it in proper way in such situation.
Please advice if it is possible.

Sudheer

https://pypi.python.org/packages/1e/98/d6d5d9200fcec4fdbd20f0f084b6e41e176284786315449cc0c896a411e8/SkillMetrics-1.1.2.tar.gz#md5=7d5e7200375b1c5e1c4fb8344624be67

sm.taylor_diagram(sdev,crmsd,ccoef,markerLabel=label,markerLegend = ‘on’,markerobs=‘v’,markerfacecolor=‘None’,s
…: tyleOBS=‘-’,colOBS=‘r’,titleobs=‘RAMA_SST’)

ValueError Traceback (most recent call last)
in ()
----> 1 sm.taylor_diagram(sdev,crmsd,ccoef,markerLabel=label,markerLegend = ‘on’,markerobs=‘v’,markerfacecolor=‘None’,styleOBS=‘-’,colOBS=‘r’,titleobs=‘RAMA_SST’)

/usr/local/lib/python2.7/dist-packages/skill_metrics/taylor_diagram.pyc in taylor_diagram(*args, **kwargs)
71
72 # Get options
—> 73 option = get_taylor_diagram_options(CORs,**kwargs)
74 # print option # debug
75 #

/usr/local/lib/python2.7/dist-packages/skill_metrics/get_taylor_diagram_options.pyc in get_taylor_diagram_options(*args, **kwargs)
177 optname = optname.lower()
178 if not optname in option:
→ 179 raise ValueError('Unrecognized option: ’ + optname)
180 else:
181 # Replace option value with that from arguments

ValueError: Unrecognized option: markerfacecolor

*************************************************************** Sudheer Joseph Indian National Centre for Ocean Information Services Ministry of Earth Sciences, Govt. of India POST BOX NO: 21, IDA Jeedeemetla P.O. Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), Tel:+91-40-23044600(R),Tel:+91-40-9440832534(Mobile) E-mail:sjo.India@…287…;sudheer.joseph@…9… Web- http://oppamthadathil.tripod.com ***************************************************************


Check out the vibrant tech community on one of the world’s most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Matplotlib-users mailing list

Matplotlib-users@…1735…sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Thank you,

I did contact them, but it appears he did not understand, the issue I was telling him. Then I thought it is my lack of expertise which made it not work.

Sudheer

*************************************************************** Sudheer Joseph Indian National Centre for Ocean Information Services Ministry of Earth Sciences, Govt. of India POST BOX NO: 21, IDA Jeedeemetla P.O. Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), Tel:+91-40-23044600(R),Tel:+91-40-9440832534(Mobile) E-mail:sjo.India@…287…;sudheer.joseph@…9… Web- http://oppamthadathil.tripod.com ***************************************************************

···

From: Benjamin Root <ben.v.root@…287…>
To: Sudheer Joseph <sudheer.joseph@…9…>
Cc: Matplotlib Users <matplotlib-users@…712…orge.net>
Sent: Wednesday, 19 April 2017 9:44 PM
Subject: Re: [Matplotlib-users] plot control

This would seem like a bug in that package’s code. The traceback shows that it is performing its own check on the passed in kwargs, and failing to recognize it as a valid argument. I suggest contacting the maintainers of the “skill_metrics” package and find out from them if there is a bug in their package. I am unfamiliar with this package, so I can’t say anything for certain.

Cheers!

Ben Root

On Wed, Apr 19, 2017 at 11:47 AM, Sudheer Joseph <sudheer.joseph@…9…> wrote:

Dear Experts.

I have been trying to modify plot properties of taylor diagram from below package. I wanted to make markerfacecolor as None( this allows me to show symbols which falls over another) of s as possible in normal matplotlib plots but I am not sure how to pass the argument in modified figure environment of taylor plot. If I try to use markerfacecolor option the code says it do not know about such option. I was also checking it is possible specify alpha= n so that the color intensity of symbol can be modified. But both options are not working or I am not putting it in proper way in such situation.
Please advice if it is possible.

Sudheer

https://pypi.python.org/ packages/1e/98/ d6d5d9200fcec4fdbd20f0f084b6e4 1e176284786315449cc0c896a411e8 /SkillMetrics-1.1.2.tar.gz# md5= 7d5e7200375b1c5e1c4fb8344624be 67

sm.taylor_diagram(sdev,crmsd, ccoef,markerLabel=label, markerLegend = ‘on’,markerobs=‘v’, markerfacecolor=‘None’,s
…: tyleOBS=‘-’,colOBS=‘r’, titleobs=‘RAMA_SST’)


ValueError Traceback (most recent call last)
in ()
----> 1 sm.taylor_diagram(sdev,crmsd, ccoef,markerLabel=label, markerLegend = ‘on’,markerobs=‘v’, markerfacecolor=‘None’, styleOBS=‘-’,colOBS=‘r’, titleobs=‘RAMA_SST’)

/usr/local/lib/python2.7/dist- packages/skill_metrics/taylor_ diagram.pyc in taylor_diagram(*args, **kwargs)
71
72 # Get options
—> 73 option = get_taylor_diagram_options( CORs,**kwargs)
74 # print option # debug
75 #

/usr/local/lib/python2.7/dist- packages/skill_metrics/get_ taylor_diagram_options.pyc in get_taylor_diagram_options(* args, **kwargs)
177 optname = optname.lower()
178 if not optname in option:
→ 179 raise ValueError('Unrecognized option: ’ + optname)
180 else:
181 # Replace option value with that from arguments

ValueError: Unrecognized option: markerfacecolor

****************************** ****************************** *** Sudheer Joseph Indian National Centre for Ocean Information Services Ministry of Earth Sciences, Govt. of India POST BOX NO: 21, IDA Jeedeemetla P.O. Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 Tel:+91-40-23886047(O),Fax:+ 91-40-23895011(O), Tel:+91-40-23044600(R),Tel:+ 91-40-9440832534(Mobile) E-mail:sjo.India@…287…;sud heer.joseph@…9… Web- http://oppamthadathil.tripod. com ****************************** ****************************** ***


Check out the vibrant tech community on one of the world’s most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Matplotlib-users mailing list

Matplotlib-users@…1735… sourceforge.net

https://lists.sourceforge.net/ lists/listinfo/matplotlib- users