2c309232960f18cb7234bb7322baf441d6e78449,ggplot/tests/test_element_text.py,,,#,7

Before Change


from ggplot import *


gg = ggplot(aes(x="date", y="beef"), data=meat) + \
    geom_point(color="lightblue") + \
    stat_smooth(span=.15, color="black", se=True) + \
    xlab("Date") + \
    ylab("Head of Cattle Slaughtered")

@image_comparison(["all_text"], extensions=["png"], tol=0)
def test_element_text1():
    // Text element_target properties that can be configured with rcParams.

After Change



df = DataFrame({"blahblahblah": linspace(999, 1111, 9),
                "yadayadayada": linspace(999, 1111, 9)})
simple_gg = ggplot(aes(x="blahblahblah", y="yadayadayada"), data=df) + geom_line()

    
@image_comparison(["all_text"], extensions=["png"], tol=10)
def test_element_text1():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: has2k1/plotnine
Commit Name: 2c309232960f18cb7234bb7322baf441d6e78449
Time: 2014-04-27
Author: pyrios@gmail.com
File Name: ggplot/tests/test_element_text.py
Class Name:
Method Name:


Project Name: has2k1/plotnine
Commit Name: 61359b01bbafa7a98ad614835159705d9003476a
Time: 2018-12-28
Author: has2k1@gmail.com
File Name: plotnine/tests/test_annotation_logticks.py
Class Name:
Method Name: test_annotation_logticks_coord_flip


Project Name: has2k1/plotnine
Commit Name: 61359b01bbafa7a98ad614835159705d9003476a
Time: 2018-12-28
Author: has2k1@gmail.com
File Name: plotnine/tests/test_annotation_logticks.py
Class Name:
Method Name: test_annotation_logticks