
Recherche avancée
Autres articles (28)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (7002)
-
Revision 101207 : On revert r100804 qui revertait lui même r100791. r100791 avait lieu ...
19 décembre 2016, par prigent.yohann@… — LogOn revert r100804 qui revertait lui même r100791. r100791 avait lieu d’être, et a toujours lieu d’être. L’auteur du revert a sans doute été trompé par l’exemple. En voici un plus parlant dans l’article de la mutualisation : https://contrib.spip.net/La-mutualisation-facile-modifications-manuelles
-
Evolution #2514 (Résolu) : Doc joint EPUB reconnu en tant que ZIP au lieu de l’être comme EPUB
3 février 2012, par kent1 - -
How to plot an animated graph
2 août 2019, par Mukonza Sabastian SimbarasheFollowing along How to Create Animated Graphs in Python when constructing an animated plot then on writing the ffmpeg I get the following error :
'Requested MovieWriter ({}) not available'.format(name))
RuntimeError: Requested MovieWriter (ffmpeg) not availableAfter getting this error, I initially tried to install ffmpeg using
pip
by the following method :python -m install ffmpeg
and it seems to have successfully installed ffmpeg, but going back to my code I still get the same error
Find below my code :
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.animation as animation
overdoses = pd.read_excel(r'C:\Users\ACER\Desktop\overdose_data_1999-2015.xls',sheet_name='Online',skiprows =6)
def get_data(table,rownum,title):
data = pd.DataFrame(table.loc[rownum][2:]).astype(float)
data.columns = {title}
return data
title = 'Heroin Overdoses'
d = get_data(overdoses,18,title)
x = np.array(d.index)
y = np.array(d['Heroin Overdoses'])
overdose = pd.DataFrame(y,x)
overdose.columns = {title}
Writer = animation.writers['ffmpeg']Here is the stack trace :
Traceback (most recent call last):
File "C:\Python\Python36\lib\site-packages\matplotlib\animation.py", line 161, in __getitem__
return self.avail[name]
KeyError: 'ffmpeg'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in <module>
Writer = animation.writers['ffmpeg']
File "C:\Python\Python36\lib\site-packages\matplotlib\animation.py", line 164, in __getitem__
'Requested MovieWriter ({}) not available'.format(name))
RuntimeError: Requested MovieWriter (ffmpeg) not available
</module>