Sunday, 25 December 2016
Friday, 23 December 2016
Thursday, 22 December 2016
Modifiy Python matplotlib Backend Settings
To find the location of configuration file:
>>> import matplotlib
>>> matplotlib.matplotlib_fname()
Edit the matplotlib configuration file:
Modify "backend : tkagg" to "backend : Agg", for example.
More of Customizing matplotlib.
>>> import matplotlib
>>> matplotlib.matplotlib_fname()
Edit the matplotlib configuration file:
Modify "backend : tkagg" to "backend : Agg", for example.
More of Customizing matplotlib.
Wednesday, 21 December 2016
Friday, 16 December 2016
Wednesday, 14 December 2016
Tuesday, 6 December 2016
Bash Sponge Command
Combining many files columnwise, use first column only once
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cited from Can bash wildcards specify negative matches?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cited from Can bash wildcards specify negative matches?
If the extglob shell option is enabled using the shopt builtin, several
extended pattern matching operators are recognized. In the following
description, a pattern-list is a list of one or more patterns separated
by a |. Composite patterns may be formed using one or more of the following
sub-patterns:
?(pattern-list)
Matches zero or one occurrence of the given patterns
*(pattern-list)
Matches zero or more occurrences of the given patterns
+(pattern-list)
Matches one or more occurrences of the given patterns
@(pattern-list)
Matches one of the given patterns
!(pattern-list)
Matches anything except one of the given patterns
Subscribe to:
Posts (Atom)