61359b01bbafa7a98ad614835159705d9003476a,plotnine/tests/test_annotation_logticks.py,,test_annotation_logticks,#,17
Before Change
def test_annotation_logticks():
p = (
ggplot(mtcars)
+ geom_point(aes("wt", "mpg"))
+ scale_x_continuous(
trans="log10", minor_breaks=8, limits=(1, 10), breaks=[1, 10]
)
+ scale_y_continuous(
trans="log10", limits=(10, 100), minor_breaks=8, breaks=[10, 100]
)
+ annotation_logticks(sides="bl")
)
assert p == "annotation_logticks"
def test_annotation_logticks_coord_flip():
After Change
def test_annotation_logticks():
// The grid should align with the logticks
p = (ggplot(df, aes("x", "x"))
+ annotation_logticks(sides="b", size=.75)
+ geom_point()
+ scale_x_log10()
+ scale_y_log10()
+ theme(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
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
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