Skip to content

Commit 010a0fc

Browse files
committed
edited rcParams
1 parent 7e11d4e commit 010a0fc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/napari_matplotlib/base.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
from matplotlib.figure import Figure
44
from qtpy.QtWidgets import QVBoxLayout, QWidget
55

6+
import matplotlib as mpl
7+
mpl.rc('axes', edgecolor='white')
8+
mpl.rc('axes', facecolor = '#262930')
9+
mpl.rc('axes', labelcolor = 'white')
10+
mpl.rc('savefig', facecolor = '#262930')
11+
mpl.rc('text', color = 'white')
12+
13+
mpl.rc('xtick', color = 'white')
14+
mpl.rc('ytick', color = 'white')
615
__all__ = ["NapariMPLWidget"]
716

817

0 commit comments

Comments
 (0)