Skip to content

Commit

Permalink
Merge pull request #3 from trinketapp/fix/kwargs
Browse files Browse the repository at this point in the history
remove redundant `null` default
  • Loading branch information
eah13 authored Oct 11, 2018
2 parents 631a246 + cd9a87e commit 787a4c4
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions matplotlib/pyplot/__init__.js
Original file line number Diff line number Diff line change
Expand Up @@ -2032,10 +2032,8 @@ var $builtinmodule = function(name) {
return new Sk.builtin.str(label_unwrap);
};

title_f.co_varnames = ['label', 'fontdict', 'loc', ];
title_f.$defaults = [null, Sk.builtin.none.none$, Sk.builtin.none.none$,
Sk.builtin.none.none$
];
title_f.co_varnames = ['label', 'fontdict', 'loc'];
title_f.$defaults = [Sk.builtin.none.none$, Sk.builtin.none.none$, Sk.builtin.none.none$];
mod.title = new Sk.builtin.func(title_f);

var axis_f = function(label, fontdict, loc) {
Expand All @@ -2057,10 +2055,8 @@ var $builtinmodule = function(name) {
return Sk.ffi.remapToPy([]);
};

axis_f.co_varnames = ['label', 'fontdict', 'loc', ];
axis_f.$defaults = [null, Sk.builtin.none.none$, Sk.builtin.none.none$,
Sk.builtin.none.none$
];
axis_f.co_varnames = ['label', 'fontdict', 'loc'];
axis_f.$defaults = [Sk.builtin.none.none$, Sk.builtin.none.none$, Sk.builtin.none.none$];
mod.axis = new Sk.builtin.func(axis_f);

var xlabel_f = function(s, fontdict, loc) {
Expand All @@ -2082,10 +2078,8 @@ var $builtinmodule = function(name) {
}
};

xlabel_f.co_varnames = ['s', 'fontdict', 'loc', ];
xlabel_f.$defaults = [null, Sk.builtin.none.none$, Sk.builtin.none.none$,
Sk.builtin.none.none$
];
xlabel_f.co_varnames = ['s', 'fontdict', 'loc'];
xlabel_f.$defaults = [Sk.builtin.none.none$, Sk.builtin.none.none$, Sk.builtin.none.none$];
mod.xlabel = new Sk.builtin.func(xlabel_f);

var ylabel_f = function(s, fontdict, loc) {
Expand All @@ -2107,10 +2101,8 @@ var $builtinmodule = function(name) {
}
};

ylabel_f.co_varnames = ['s', 'fontdict', 'loc', ];
ylabel_f.$defaults = [null, Sk.builtin.none.none$, Sk.builtin.none.none$,
Sk.builtin.none.none$
];
ylabel_f.co_varnames = ['s', 'fontdict', 'loc'];
ylabel_f.$defaults = [Sk.builtin.none.none$, Sk.builtin.none.none$, Sk.builtin.none.none$];
mod.ylabel = new Sk.builtin.func(ylabel_f);

// Clear the current figure
Expand Down

0 comments on commit 787a4c4

Please sign in to comment.