Skip to content

Commit f56dd13

Browse files
committed
TexManager: Remove unneeded _get_shell_cmd
1 parent dbb0115 commit f56dd13

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/matplotlib/texmanager.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -263,18 +263,6 @@ def get_custom_preamble(self):
263263
"""returns a string containing user additions to the tex preamble"""
264264
return '\n'.join(rcParams['text.latex.preamble'])
265265

266-
def _get_shell_cmd(self, *args):
267-
"""
268-
On windows, changing directories can be complicated by the presence of
269-
multiple drives. get_shell_cmd deals with this issue.
270-
"""
271-
if sys.platform == 'win32':
272-
command = ['%s' % os.path.splitdrive(self.texcache)[0]]
273-
else:
274-
command = []
275-
command.extend(args)
276-
return ' && '.join(command)
277-
278266
def make_tex(self, tex, fontsize):
279267
"""
280268
Generate a tex file to render the tex string at a specific font size

0 commit comments

Comments
 (0)