About 37,600 results
Open links in new tab
  1. python - What's the difference between matplotlib.rc and …

    Apr 4, 2018 · I understand that in matplotlib, you can use rc or rcParams to custom the style of your plotting. However, it seems that these functions exist in two levels, like matplotlib.rc vs …

  2. How do I change the size of figures drawn with Matplotlib?

    Dec 1, 2008 · Adjust the figsize= parameter in matplotlib.pyplot.figure, which is similar to this answer, but uses the standard plt import alias, and doesn't directly import figure from the …

  3. python 3.x - Properly reset matplotlib.rcParams dictionary to its ...

    Dec 25, 2019 · In the beginning of the script I could check matplotlib.rcParams and store either the whole dictionary, or values for certain keys, and then restore them one at a time or with the …

  4. how to set local rcParams or rcParams for one figure in matplotlib

    I am writing a plotting function in python using matplotlib. The user can specify some things, e.g. "tick lines". The easiest way would be to change the rcParams, but those are global properties, …

  5. What does "rc" in matplotlib's rcParams stand for? [closed]

    It is used for any file that contains startup information for a command.' I don't consider matplotlib to be a Unix-like system, hence applying '.rc' to matplotlib was perhaps out of habit by a Unix …

  6. matplotlibrc rcParams modified for Jupyter inline plots

    Mar 8, 2017 · I have seen this question come up a couple of times, but I think this information changes as jupyter/ipython get updated. I am currently running python 3.5, jupyter (latest) and …

  7. How to change defaults in matplot lib and find specific list of rc ...

    I am learning matplotlib at the moment and working on changing the rcParams. The documentation on the website appears to be very sparse. When I look here, there is only a …

  8. Setting global "legend.loc" for matplotlib using rcParams?

    May 20, 2018 · It is unclear, why your command rcParams['legend.loc'] = "best" doesn't influence the following figures. As you can see, it works as expected in the following code:

  9. python - Matplotlib error: AttributeError: module 'matplotlib' has …

    Feb 14, 2022 · import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl from cycler import cycler mpl.rcParams['lines.linewidth'] = 2 mpl.rcParams['lines.linestyle'] = '--' data …

  10. Matplotlib: is there an rcParams way to adjust legend border width?

    Jul 14, 2016 · Patch objects get their default line width from matplotlib.rcParams['patch.linewidth']. This means that if you set patch.linewidth in matplotlibrc, the size of the legend border will …

Refresh