how to rectify the key error in code using astroML library [on hold]












0















recently i started working with astroML library, in python, the code when being compiled, shows the following problem in following line



setup_text_plots(fontsize=8, usetex=True)


with the following error,



Traceback (most recent call last):
File "example.py", line 19, in <module>
setup_text_plots(fontsize=8, usetex=True)
File "/home/apoorve/.local/lib/python2.7/site-packages/astroML/plotting /settings.py", line 17, in setup_text_plots
matplotlib.rc('patch', force_edgecolor=True)
File "/usr/lib/python2.7/dist-packages/matplotlib/__init__.py", line 1234, in rc
'name "%s"') % (key, g, name))
KeyError: u'Unrecognized key "patch.force_edgecolor" for group "patch" and name "force_edgecolor"'


i don't know how to rectify this error,I am total new to this










share|improve this question







New contributor




Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by karel, dessert, Thomas, Eric Carvalho, Charles Green 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, dessert, Thomas, Eric Carvalho, Charles Green

If this question can be reworded to fit the rules in the help center, please edit the question.


















    0















    recently i started working with astroML library, in python, the code when being compiled, shows the following problem in following line



    setup_text_plots(fontsize=8, usetex=True)


    with the following error,



    Traceback (most recent call last):
    File "example.py", line 19, in <module>
    setup_text_plots(fontsize=8, usetex=True)
    File "/home/apoorve/.local/lib/python2.7/site-packages/astroML/plotting /settings.py", line 17, in setup_text_plots
    matplotlib.rc('patch', force_edgecolor=True)
    File "/usr/lib/python2.7/dist-packages/matplotlib/__init__.py", line 1234, in rc
    'name "%s"') % (key, g, name))
    KeyError: u'Unrecognized key "patch.force_edgecolor" for group "patch" and name "force_edgecolor"'


    i don't know how to rectify this error,I am total new to this










    share|improve this question







    New contributor




    Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    put on hold as off-topic by karel, dessert, Thomas, Eric Carvalho, Charles Green 2 days ago


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, dessert, Thomas, Eric Carvalho, Charles Green

    If this question can be reworded to fit the rules in the help center, please edit the question.
















      0












      0








      0








      recently i started working with astroML library, in python, the code when being compiled, shows the following problem in following line



      setup_text_plots(fontsize=8, usetex=True)


      with the following error,



      Traceback (most recent call last):
      File "example.py", line 19, in <module>
      setup_text_plots(fontsize=8, usetex=True)
      File "/home/apoorve/.local/lib/python2.7/site-packages/astroML/plotting /settings.py", line 17, in setup_text_plots
      matplotlib.rc('patch', force_edgecolor=True)
      File "/usr/lib/python2.7/dist-packages/matplotlib/__init__.py", line 1234, in rc
      'name "%s"') % (key, g, name))
      KeyError: u'Unrecognized key "patch.force_edgecolor" for group "patch" and name "force_edgecolor"'


      i don't know how to rectify this error,I am total new to this










      share|improve this question







      New contributor




      Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      recently i started working with astroML library, in python, the code when being compiled, shows the following problem in following line



      setup_text_plots(fontsize=8, usetex=True)


      with the following error,



      Traceback (most recent call last):
      File "example.py", line 19, in <module>
      setup_text_plots(fontsize=8, usetex=True)
      File "/home/apoorve/.local/lib/python2.7/site-packages/astroML/plotting /settings.py", line 17, in setup_text_plots
      matplotlib.rc('patch', force_edgecolor=True)
      File "/usr/lib/python2.7/dist-packages/matplotlib/__init__.py", line 1234, in rc
      'name "%s"') % (key, g, name))
      KeyError: u'Unrecognized key "patch.force_edgecolor" for group "patch" and name "force_edgecolor"'


      i don't know how to rectify this error,I am total new to this







      python






      share|improve this question







      New contributor




      Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Jan 20 at 16:27









      TranswertTranswert

      1




      1




      New contributor




      Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Transwert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      put on hold as off-topic by karel, dessert, Thomas, Eric Carvalho, Charles Green 2 days ago


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, dessert, Thomas, Eric Carvalho, Charles Green

      If this question can be reworded to fit the rules in the help center, please edit the question.




      put on hold as off-topic by karel, dessert, Thomas, Eric Carvalho, Charles Green 2 days ago


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, dessert, Thomas, Eric Carvalho, Charles Green

      If this question can be reworded to fit the rules in the help center, please edit the question.






















          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b