5464fc26226597d26b4705b6cbce3dd092b9706c,ggplot/themes/theme_xkcd.py,theme_xkcd,__deepcopy__,#theme_xkcd#Any#,37

Before Change


            pass
        result = _empty()
        result.__class__ = self.__class__
        result.__dict__["element_themes"] = deepcopy(self.element_themes)
        result.__dict__["_rcParams"] = {}
        result.__dict__["_params"] = deepcopy(self._params)
        for k, v in self._rcParams.items():
            try:

After Change


        memo[id(self)] = result

        for key, item in self.__dict__.items():
            if key == "_rcParams":
                continue

            result.__dict__[key] = deepcopy(self.__dict__[key], memo)

        result._rcParams = {}
        for k, v in self._rcParams.items():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: has2k1/plotnine
Commit Name: 5464fc26226597d26b4705b6cbce3dd092b9706c
Time: 2015-10-12
Author: has2k1@gmail.com
File Name: ggplot/themes/theme_xkcd.py
Class Name: theme_xkcd
Method Name: __deepcopy__


Project Name: keras-team/autokeras
Commit Name: c270e59bf951bca41743bd03272e5b3f255be97c
Time: 2020-08-17
Author: jin@tamu.edu
File Name: autokeras/tuners/greedy.py
Class Name: GreedyOracle
Method Name: _generate_hp_values