Skip to content

Commit 0ed629a

Browse files
some minor fixes
1 parent 8492241 commit 0ed629a

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

examples/vector_fields/quiver/quiver_4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int main() {
1212
contour(x, y, z);
1313
hold(on);
1414

15-
quiver(x, y, dx, dy, 1, "b");
15+
quiver(x, y, dx, dy);
1616
hold(off);
1717

1818
show();

source/matplot/axes_objects/vectors.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -321,14 +321,6 @@ namespace matplot {
321321
return *this;
322322
}
323323

324-
const std::vector<double> &vectors::m_data() const { return m_data_; }
325-
326-
class vectors &vectors::m_data(const std::vector<double> &m_data) {
327-
m_data_ = m_data;
328-
touch();
329-
return *this;
330-
}
331-
332324
const std::vector<size_t> &vectors::marker_indices() const {
333325
return marker_indices_;
334326
}

source/matplot/axes_objects/vectors.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ namespace matplot {
9797
const std::vector<double> &z_data() const;
9898
class vectors &z_data(const std::vector<double> &z_data);
9999

100-
const std::vector<double> &m_data() const;
101-
class vectors &m_data(const std::vector<double> &m_data);
102-
103100
const std::vector<size_t> &marker_indices() const;
104101
class vectors &
105102
marker_indices(const std::vector<size_t> &marker_indices);

0 commit comments

Comments
 (0)