Skip to content

Commit ee95a57

Browse files
committed
2 parents 9783bcf + 87ff572 commit ee95a57

File tree

16 files changed

+61
-52
lines changed

16 files changed

+61
-52
lines changed

.github/stale.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
name: "Ubuntu/18.04/Static/X64/Release",
5252
os: ubuntu-18.04,
5353
config: Release,
54-
cmake_extra_args: "-DCMAKE_C_COMPILER=/usr/bin/gcc-8 -DCMAKE_CXX_COMPILER=/usr/bin/g++-8 -DCMAKE_CXX_FLAGS=\"-O2\"",
54+
cmake_extra_args: "-DCMAKE_C_COMPILER=/usr/bin/gcc-10 -DCMAKE_CXX_COMPILER=/usr/bin/g++-10 -DCMAKE_CXX_FLAGS=\"-O2\"",
5555
sudocmd: "sudo",
5656
artifact_name: "Linux",
5757
cores: 2,
@@ -101,4 +101,4 @@ jobs:
101101
- name: Archive Installer Packages as is
102102
uses: kittaakos/upload-artifact-as-is@v0
103103
with:
104-
path: build/matplotplusplus-?.?.?-*.*
104+
path: build/matplotplusplus-?.?.?-*.*

README.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9241,14 +9241,21 @@ If contributing to the documentation, please edit [`README.md`](README.md) direc
92419241
<sub><b>Marcus Asteborg</b></sub>
92429242
</a>
92439243
</td>
9244+
<td align="center">
9245+
<a href="https://github.com/Zengit123">
9246+
<img src="https://avatars.githubusercontent.com/u/13079947?v=4" width="100;" alt="Zengit123"/>
9247+
<br />
9248+
<sub><b>Zengit</b></sub>
9249+
</a>
9250+
</td></tr>
9251+
<tr>
92449252
<td align="center">
92459253
<a href="https://github.com/madronalabs">
92469254
<img src="https://avatars.githubusercontent.com/u/1434276?v=4" width="100;" alt="madronalabs"/>
92479255
<br />
92489256
<sub><b>Randy Jones</b></sub>
92499257
</a>
9250-
</td></tr>
9251-
<tr>
9258+
</td>
92529259
<td align="center">
92539260
<a href="https://github.com/sammi">
92549261
<img src="https://avatars.githubusercontent.com/u/189128?v=4" width="100;" alt="sammi"/>
@@ -9263,6 +9270,13 @@ If contributing to the documentation, please edit [`README.md`](README.md) direc
92639270
<sub><b>Alex</b></sub>
92649271
</a>
92659272
</td>
9273+
<td align="center">
9274+
<a href="https://github.com/avocadoboi">
9275+
<img src="https://avatars.githubusercontent.com/u/24738592?v=4" width="100;" alt="avocadoboi"/>
9276+
<br />
9277+
<sub><b>BjC6rn Sundin</b></sub>
9278+
</a>
9279+
</td>
92669280
<td align="center">
92679281
<a href="https://github.com/dimztimz">
92689282
<img src="https://avatars.githubusercontent.com/u/6236568?v=4" width="100;" alt="dimztimz"/>
@@ -9276,7 +9290,8 @@ If contributing to the documentation, please edit [`README.md`](README.md) direc
92769290
<br />
92779291
<sub><b>MaBnt</b></sub>
92789292
</a>
9279-
</td>
9293+
</td></tr>
9294+
<tr>
92809295
<td align="center">
92819296
<a href="https://github.com/kaffehalv">
92829297
<img src="https://avatars.githubusercontent.com/u/33203776?v=4" width="100;" alt="kaffehalv"/>
@@ -9290,8 +9305,14 @@ If contributing to the documentation, please edit [`README.md`](README.md) direc
92909305
<br />
92919306
<sub><b>Akash Patel</b></sub>
92929307
</a>
9293-
</td></tr>
9294-
<tr>
9308+
</td>
9309+
<td align="center">
9310+
<a href="https://github.com/myd7349">
9311+
<img src="https://avatars.githubusercontent.com/u/5435649?v=4" width="100;" alt="myd7349"/>
9312+
<br />
9313+
<sub><b>Myd7349</b></sub>
9314+
</a>
9315+
</td>
92959316
<td align="center">
92969317
<a href="https://github.com/ankane">
92979318
<img src="https://avatars3.githubusercontent.com/u/220358?v=4" width="100;" alt="ankane"/>

source/matplot/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
find_package(Filesystem REQUIRED)
1+
find_package(Filesystem REQUIRED COMPONENTS Experimental Final)
22

33
add_library(matplot
44
matplot.h

source/matplot/axes_objects/bars.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ namespace matplot {
104104
std::vector<std::vector<double>> ys_;
105105

106106
// color and style
107-
std::vector<color_array> face_colors_{{0.4, 0, 0, 0}};
107+
std::vector<color_array> face_colors_{{0.4f, 0, 0, 0}};
108108
bool manual_face_color_{false};
109109
color_array edge_color_{0, 0, 0, 0};
110110
line_spec edge_style_{"-"};
111111
float line_width_{0.5};
112112
bool vertical_orientation_{true};
113-
float bar_width_{0.8};
114-
float cluster_width_{0.8};
113+
float bar_width_{0.8f};
114+
float cluster_width_{0.8f};
115115

116116
// True if visible
117117
bool visible_{true};

source/matplot/axes_objects/box_chart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ namespace matplot {
126126
std::vector<double> x_data_;
127127

128128
// color and style
129-
color_array face_color_{{0.4, 0, 0, 0}};
129+
color_array face_color_{{0.4f, 0, 0, 0}};
130130
bool manual_face_color_{false};
131131
color_array edge_color_{0, 0, 0, 0};
132132
float edge_width_{0.5};

source/matplot/axes_objects/error_bar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ namespace matplot {
8080
std::vector<double> y_positive_delta_{};
8181

8282
bool filled_curve_{false};
83-
float filled_curve_alpha_{0.90};
83+
float filled_curve_alpha_{0.9f};
8484

8585
float cap_size_{3.};
8686
};

source/matplot/axes_objects/histogram.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ namespace matplot {
248248
enum normalization normalization_ { normalization::count };
249249

250250
// color and style
251-
color_array face_color_{0.4, 0, 0, 0};
251+
color_array face_color_{0.4f, 0, 0, 0};
252252
bool manual_face_color_{false};
253253
color_array edge_color_{0, 0, 0, 0};
254254
bool manual_edge_color_{false};

source/matplot/axes_objects/matrix.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ namespace matplot {
126126
std::string labels_data_string();
127127

128128
inline double x_width() {
129-
return (w_ - 1) / (matrices_[0][0].size() - 1);
129+
return (w_ - 1) / static_cast<double>(matrices_[0][0].size() - 1);
130130
}
131131

132-
inline double y_width() { return (h_ - 1) / (matrices_[0].size() - 1); }
132+
inline double y_width() { return (h_ - 1) / static_cast<double>(matrices_[0].size() - 1); }
133133

134134
protected:
135135
// Main matrix

source/matplot/axes_objects/surface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ namespace matplot {
214214
size_t norm_{2};
215215
bool hidden3d_{false};
216216
bool depthorder_{false};
217-
float face_alpha_{.95};
217+
float face_alpha_{.95f};
218218
class line_spec line_spec_;
219219
bool lighting_{false};
220220
float primary_{-1.};

0 commit comments

Comments
 (0)