Skip to content

Commit 987a881

Browse files
committed
Remove outdated default-.proplotrc writer
1 parent c414513 commit 987a881

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

proplot/__init__.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,6 @@
3232
if not _os.path.isdir(_rc_sub):
3333
_os.mkdir(_rc_sub)
3434

35-
# Initialize customization file
36-
_rc_file = _os.path.join(_os.path.expanduser('~'), '.proplotrc')
37-
_rc_file_default = _os.path.join(_os.path.dirname(__file__), '.proplotrc')
38-
if not _os.path.isfile(_rc_file):
39-
with open(_rc_file_default) as f:
40-
lines = ''.join(
41-
'# ' + line if line.strip() and line[0] != '#' else line
42-
for line in f.readlines()
43-
)
44-
with open(_rc_file, 'x') as f:
45-
f.write(
46-
'# User default settings\n'
47-
'# See https://proplot.readthedocs.io/en/latest/rctools.html\n'
48-
+ lines
49-
)
50-
5135
# SCM versioning
5236
name = 'proplot'
5337
try:

0 commit comments

Comments
 (0)