how to rectify the key error in code using astroML library [on hold]
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
New contributor
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.
add a comment |
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
New contributor
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.
add a comment |
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
New contributor
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
python
New contributor
New contributor
New contributor
asked Jan 20 at 16:27
TranswertTranswert
1
1
New contributor
New contributor
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.
add a comment |
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes