Skip to content

Commit 554aaa7

Browse files
Update axes_type.cpp
Actually now that I come to think of it, this automatic "axes_type::clear()" feature will cause pain for users. It is better to introduce the users with the command and let them clear plots manually instead of forcing it on every object emplacement.
1 parent b35905e commit 554aaa7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

source/matplot/core/axes_type.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ namespace matplot {
4747
if (next_plot_replace_) {
4848
children_.clear();
4949
colororder_index_ = 0;
50-
axes_type::clear();
5150
}
5251
children_.push_back(obj);
5352
touch();

0 commit comments

Comments
 (0)