Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d120db commit d7ed6e6Copy full SHA for d7ed6e6
src/_backend_agg.cpp
@@ -660,7 +660,7 @@ RendererAgg::draw_markers(const Py::Tuple& args)
660
// Deal with the difference in y-axis direction
661
marker_trans *= agg::trans_affine_scaling(1.0, -1.0);
662
trans *= agg::trans_affine_scaling(1.0, -1.0);
663
- trans *= agg::trans_affine_translation(0.0, (double)height);
+ trans *= agg::trans_affine_translation(0.5, (double)height+0.5);
664
665
PathIterator marker_path(marker_path_obj);
666
transformed_path_t marker_path_transformed(marker_path, marker_trans);
0 commit comments