d695f661f194ba222386ac4848ac259814de3e49,ggplot/geoms/geom_vline.py,geom_vline,_plot_unit,#geom_vline#Any#Any#,15

Before Change



    def _plot_unit(self, pinfo, ax):
        pinfo["label"] = self.params["label"]
        if isinstance(pinfo["x"], list):
            xs = pinfo["x"]
            for x in xs:
                pinfo["x"] = x
                ax.axvline(**pinfo)
        else:
            ax.axvline(**pinfo)

After Change



    def _plot_unit(self, pinfo, ax):
        pinfo["label"] = self.params["label"]
        try:
            ymin = pinfo.pop("ymin")
        except KeyError:
            ymin, _ = ax.get_ylim()
        try:
            ymax = pinfo.pop("ymax")
        except KeyError:
            _, ymax = ax.get_ylim()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: has2k1/plotnine
Commit Name: d695f661f194ba222386ac4848ac259814de3e49
Time: 2014-04-29
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_vline.py
Class Name: geom_vline
Method Name: _plot_unit


Project Name: has2k1/plotnine
Commit Name: d695f661f194ba222386ac4848ac259814de3e49
Time: 2014-04-29
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_hline.py
Class Name: geom_hline
Method Name: _plot_unit


Project Name: has2k1/plotnine
Commit Name: d695f661f194ba222386ac4848ac259814de3e49
Time: 2014-04-29
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_vline.py
Class Name: geom_vline
Method Name: _plot_unit


Project Name: prody/ProDy
Commit Name: 223584e2a0b97b006b6ac944253e2573963a7a88
Time: 2018-09-25
Author: jamesmkrieger@gmail.com
File Name: prody/proteins/starfile.py
Class Name:
Method Name: parseImagesFromSTAR