Recherche avancée

Médias (91)

Autres articles (75)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette 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.

Sur d’autres sites (6559)

  • How can I get matplotlib to show full subplots in an animation ?

    12 mars 2015, par Matt Stone

    I’m trying to write a simple immune system simulator. I’m modeling infected tissue as a simple grid of cells and various intracellular signals, and I’d like to animate movement of cells in one plot and the intensity of viral presence in another as the infection progresses. I’m doing so with the matshow function provided by matplotlib. However, when I plot the two next to each other, the full grid gets clipped unless I stretch out the window myself. I can’t address the problem at all when saving to an mp4.

    Here’s the default view, which is identical to what I observe when saving to mp4 :

    And here’s what it looks like after stretching out the viewer window

    I’m running Python 2.7.9 with matplotlib 1.4.2 on OS X 10.10.2, using ffmpeg 2.5.2 (installed via Homebrew). Below is the code I’m using to generate the animation. I tried using plt.tight_layout() but it didn’t affect the problem. If anyone has any advice as to how to solve this, I’d really appreciate it ! I’d especially like to be able to save it without viewing with plt.show(). Thanks !

    def animate(self, fname=None, frames=100):
       fig, (agent_ax, signal_ax) = plt.subplots(1, 2, sharey=True)

       agent_ax.set_ylim(0, self.grid.shape[0])
       agent_ax.set_xlim(0, self.grid.shape[1])
       signal_ax.set_ylim(0, self.grid.shape[0])
       signal_ax.set_xlim(0, self.grid.shape[1])

       agent_mat = agent_ax.matshow(self.display_grid(),
                                    vmin=0, vmax=10)
       signal_mat = signal_ax.matshow(self.signal_display(virus),
                                      vmin=0, vmax=20)
       fig.colorbar(signal_mat)

       def anim_update(tick):
           self.update()
           self.diffuse()
           agent_mat.set_data(self.display_grid())
           signal_mat.set_data(self.signal_display(virus))
           return agent_mat, signal_mat

       anim = animation.FuncAnimation(fig, anim_update, frames=frames,
                                      interval=3000, blit=False)

       if fname:
           anim.save(fname, fps=5, extra_args=['-vcodec', 'libx264'])
       else:
           plt.show()
  • avfilter/drawutils : add support for full range

    2 mai 2018, par Paul B Mahol
    avfilter/drawutils : add support for full range
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] libavfilter/drawutils.c
    • [DH] libavfilter/drawutils.h
    • [DH] libavutil/colorspace.h
    • [DH] tests/ref/fate/filter-pixfmts-pad
  • Revision ba6bed372b : Merge "Fix a potential overflow issue in inverse 16x16 full 2D-DCT"

    31 mai 2014, par Jingning Han

    Merge "Fix a potential overflow issue in inverse 16x16 full 2D-DCT"