Skip to content

Commit 524e626

Browse files
csernibalandefreitas
authored andcommitted
Fix incorrect min/max values.
1 parent d988ad0 commit 524e626

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/matplot/core/axes_object.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@ namespace matplot {
5959

6060
std::string axes_object::unset_variables_string() { return ""; }
6161

62-
double axes_object::xmax() { return -10; }
62+
double axes_object::xmin() { return -10; }
6363

64-
double axes_object::xmin() { return +10; }
64+
double axes_object::xmax() { return +10; }
6565

66-
double axes_object::ymax() { return -10; }
66+
double axes_object::ymin() { return -10; }
6767

68-
double axes_object::ymin() { return +10; }
68+
double axes_object::ymax() { return +10; }
6969

70-
double axes_object::zmax() { return -10; }
70+
double axes_object::zmin() { return -10; }
7171

72-
double axes_object::zmin() { return +10; }
72+
double axes_object::zmax() { return +10; }
7373

7474
enum axes_object::axes_category axes_object::axes_category() {
7575
return axes_category::two_dimensional;

0 commit comments

Comments
 (0)