Relative Content

Tag Archive for pythonmatplotlib

Custom font in a style sheet in matplotlib

I read that you can write and import style sheets for matplotlib to use. Is there a way to load a font from a custom path in such a file? I know how to load the font directly in my .py file, but I want to know, can this be done externally? The idea would be to be able to use this style sheet for several projects.

Custom font in a style sheet in matplotlib

I read that you can write and import style sheets for matplotlib to use. Is there a way to load a font from a custom path in such a file? I know how to load the font directly in my .py file, but I want to know, can this be done externally? The idea would be to be able to use this style sheet for several projects.

Problem clearing errorbar artists from dynamic matplotlib figure

My goal is to clear and redraw errorbar data on a matplotlib plot while reusing the same background and axes. This means I cannot just clear the figure. I can do this trivially with plot by storing and removing the artists, but once I start using errorbar, I run into problems.

Problem clearing errorbar artists from dynamic matplotlib figure

My goal is to clear and redraw errorbar data on a matplotlib plot while reusing the same background and axes. This means I cannot just clear the figure. I can do this trivially with plot by storing and removing the artists, but once I start using errorbar, I run into problems.