Archived
Merge branch 'sebl' into 'main'
Add code to create Artifacts for Data Analysis and Presentation. See merge request dbis/lecture-groups/database-systems/2023hs/group-1!5
This commit is contained in:
commit
aeeb2e368d
37 files changed
+4497
-113
No files matched your search
Regular → Executable
+2
-1
@@ -15,7 +15,8 @@ db23-project-venv/
|
||||
*.tax2010
|
||||
*.vcf
|
||||
*.xml
|
||||
|
||||
#
|
||||
analysis/config.py
|
||||
### Database ###
|
||||
*.accdb
|
||||
*.db
|
||||
|
||||
Generated
+8
@@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
Regular → Executable
File mode changed.
@@ -0,0 +1,392 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<script>
|
||||
L_NO_TOUCH = false;
|
||||
L_DISABLE_3D = false;
|
||||
</script>
|
||||
|
||||
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
|
||||
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
|
||||
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>
|
||||
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>
|
||||
|
||||
<meta name="viewport" content="width=device-width,
|
||||
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<style>
|
||||
#map_c0fb97d6ede857e174bfd07595101d7f {
|
||||
position: relative;
|
||||
width: 100.0%;
|
||||
height: 100.0%;
|
||||
left: 0.0%;
|
||||
top: 0.0%;
|
||||
}
|
||||
.leaflet-container { font-size: 1rem; }
|
||||
</style>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/iso8601-js-period@0.2.1/iso8601.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/leaflet-timedimension@1.1.1/dist/leaflet.timedimension.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/pa7_hm.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/pa7_leaflet_hm.min.js"></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet-timedimension@1.1.1/dist/leaflet.timedimension.control.css"/>
|
||||
|
||||
<script>
|
||||
var TDHeatmap = L.TimeDimension.Layer.extend({
|
||||
|
||||
initialize: function(data, options) {
|
||||
var heatmapCfg = {
|
||||
radius: 15,
|
||||
blur: 0.8,
|
||||
maxOpacity: 1.,
|
||||
scaleRadius: false,
|
||||
useLocalExtrema: false,
|
||||
latField: 'lat',
|
||||
lngField: 'lng',
|
||||
valueField: 'count',
|
||||
defaultWeight : 1,
|
||||
};
|
||||
heatmapCfg = $.extend({}, heatmapCfg, options.heatmapOptions || {});
|
||||
var layer = new HeatmapOverlay(heatmapCfg);
|
||||
L.TimeDimension.Layer.prototype.initialize.call(this, layer, options);
|
||||
this._currentLoadedTime = 0;
|
||||
this._currentTimeData = {
|
||||
data: []
|
||||
};
|
||||
this.data= data;
|
||||
this.defaultWeight = heatmapCfg.defaultWeight || 1;
|
||||
},
|
||||
onAdd: function(map) {
|
||||
L.TimeDimension.Layer.prototype.onAdd.call(this, map);
|
||||
map.addLayer(this._baseLayer);
|
||||
if (this._timeDimension) {
|
||||
this._getDataForTime(this._timeDimension.getCurrentTime());
|
||||
}
|
||||
},
|
||||
_onNewTimeLoading: function(ev) {
|
||||
this._getDataForTime(ev.time);
|
||||
return;
|
||||
},
|
||||
isReady: function(time) {
|
||||
return (this._currentLoadedTime == time);
|
||||
},
|
||||
_update: function() {
|
||||
this._baseLayer.setData(this._currentTimeData);
|
||||
return true;
|
||||
},
|
||||
_getDataForTime: function(time) {
|
||||
delete this._currentTimeData.data;
|
||||
this._currentTimeData.data = [];
|
||||
var data = this.data[time-1];
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
this._currentTimeData.data.push({
|
||||
lat: data[i][0],
|
||||
lng: data[i][1],
|
||||
count: data[i].length>2 ? data[i][2] : this.defaultWeight
|
||||
});
|
||||
}
|
||||
this._currentLoadedTime = time;
|
||||
if (this._timeDimension && time == this._timeDimension.getCurrentTime() && !this._timeDimension.isLoading()) {
|
||||
this._update();
|
||||
}
|
||||
this.fire('timeload', {
|
||||
time: time
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
L.Control.TimeDimensionCustom = L.Control.TimeDimension.extend({
|
||||
initialize: function(index, options) {
|
||||
var playerOptions = {
|
||||
buffer: 1,
|
||||
minBufferReady: -1
|
||||
};
|
||||
options.playerOptions = $.extend({}, playerOptions, options.playerOptions || {});
|
||||
L.Control.TimeDimension.prototype.initialize.call(this, options);
|
||||
this.index = index;
|
||||
},
|
||||
_getDisplayDateFormat: function(date){
|
||||
return this.index[date.getTime()-1];
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div class="folium-map" id="map_c0fb97d6ede857e174bfd07595101d7f" ></div>
|
||||
|
||||
</body>
|
||||
<script>
|
||||
|
||||
|
||||
var map_c0fb97d6ede857e174bfd07595101d7f = L.map(
|
||||
"map_c0fb97d6ede857e174bfd07595101d7f",
|
||||
{
|
||||
center: [47.36865, 8.539183],
|
||||
crs: L.CRS.EPSG3857,
|
||||
zoom: 13,
|
||||
zoomControl: true,
|
||||
preferCanvas: false,
|
||||
dragging: true,
|
||||
scrollWheelZoom: true,
|
||||
doubleClickZoom: false,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var tile_layer_142265af8d0477637c48f9bc1a7d68d1 = L.tileLayer(
|
||||
"https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
|
||||
{"attribution": "\u0026copy; \u003ca href=\"https://www.openstreetmap.org/copyright\"\u003eOpenStreetMap\u003c/a\u003e contributors \u0026copy; \u003ca href=\"https://carto.com/attributions\"\u003eCARTO\u003c/a\u003e", "detectRetina": false, "maxNativeZoom": 20, "maxZoom": 20, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abcd", "tms": false}
|
||||
);
|
||||
|
||||
|
||||
tile_layer_142265af8d0477637c48f9bc1a7d68d1.addTo(map_c0fb97d6ede857e174bfd07595101d7f);
|
||||
|
||||
|
||||
|
||||
var times = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||
|
||||
map_c0fb97d6ede857e174bfd07595101d7f.timeDimension = L.timeDimension(
|
||||
{times : times, currentTime: new Date(1)}
|
||||
);
|
||||
|
||||
var heat_map_9f26dae603b077b11216d5a0957079cbControl = new L.Control.TimeDimensionCustom([2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022], {
|
||||
autoPlay: false,
|
||||
backwardButton: true,
|
||||
displayDate: true,
|
||||
forwardButton: true,
|
||||
limitMinimumRange: 5,
|
||||
limitSliders: true,
|
||||
loopButton: true,
|
||||
maxSpeed: 10,
|
||||
minSpeed: 0.1,
|
||||
playButton: true,
|
||||
playReverseButton: true,
|
||||
position: "bottomleft",
|
||||
speedSlider: true,
|
||||
speedStep: 0.1,
|
||||
styleNS: "leaflet-control-timecontrol",
|
||||
timeSlider: true,
|
||||
timeSliderDrapUpdate: false,
|
||||
timeSteps: 1
|
||||
})
|
||||
.addTo(map_c0fb97d6ede857e174bfd07595101d7f);
|
||||
|
||||
var heat_map_9f26dae603b077b11216d5a0957079cb = new TDHeatmap([[[47.352168, 8.55841], [47.368512, 8.52932], [47.375376, 8.534877], [47.369756, 8.513682], [47.401865, 8.531288], [47.428652, 8.543582], [47.391125, 8.522617], [47.376931, 8.541636], [47.374602, 8.535854], [47.366542, 8.540613], [47.387107, 8.519462], [47.394692, 8.546759], [47.404676, 8.557116], [47.367753, 8.545709], [47.37445, 8.546113], [47.403796, 8.485857], [47.367773, 8.494523], [47.387926, 8.485241], [47.373877, 8.5135], [47.39161, 8.527568], [47.384609, 8.531597], [47.421708, 8.550131], [47.363555, 8.554744], [47.388514, 8.483835], [47.377256, 8.538689], [47.409028, 8.566496], [47.352644, 8.572305], [47.363447, 8.554768], [47.377263, 8.510179], [47.39341, 8.525459], [47.375442, 8.547763], [47.421067, 8.549495], [47.41099, 8.543149], [47.410956, 8.542937], [47.373272, 8.531947], [47.396116, 8.505378], [47.34129, 8.530524], [47.356698, 8.57349], [47.366118, 8.53229], [47.400643, 8.549069], [47.407342, 8.565996], [47.370233, 8.548819], [47.369283, 8.541901], [47.377485, 8.542005], [47.417596, 8.553995], [47.374397, 8.518503], [47.364218, 8.551263], [47.371403, 8.53645], [47.370147, 8.602311], [47.413218, 8.53873], [47.358105, 8.524408], [47.391821, 8.500047], [47.357968, 8.532268], [47.368238, 8.520166], [47.351863, 8.527285], [47.407434, 8.563004], [47.369667, 8.53366], [47.419423, 8.508177], [47.422315, 8.512583], [47.35768, 8.552053], [47.397972, 8.47435], [47.386281, 8.531737], [47.408712, 8.546229], [47.372678, 8.534795], [47.388015, 8.520448], [47.361218, 8.552709], [47.375944, 8.54139], [47.389535, 8.51281], [47.393999, 8.543989], [47.421475, 8.511042], [47.378301, 8.54132], [47.407516, 8.548073], [47.388406, 8.520032], [47.401769, 8.581194], [47.350735, 8.577043], [47.379003, 8.556286], [47.371053, 8.516343], [47.379671, 8.545771], [47.408017, 8.547407], [47.396566, 8.540784], [47.392391, 8.487779], [47.406853, 8.550603], [47.374376, 8.521707], [47.336727, 8.516404], [47.416753, 8.572252], [47.36069, 8.56542], [47.394205, 8.517434], [47.375645, 8.516807], [47.387956, 8.49087], [47.374194, 8.491737], [47.377228, 8.539762], [47.413983, 8.548088], [47.36765, 8.495262], [47.362623, 8.527068], [47.400357, 8.585721], [47.362708, 8.567886], [47.377521, 8.542006], [47.375891, 8.510667], [47.427058, 8.546637], [47.388324, 8.548614], [47.37063, 8.527854], [47.378502, 8.510468], [47.402744, 8.491785], [47.375415, 8.517372], [47.376857, 8.535198], [47.375142, 8.51865], [47.421599, 8.550208], [47.334593, 8.52999], [47.380295, 8.541666], [47.385078, 8.547526], [47.409537, 8.543623], [47.379452, 8.544244], [47.421691, 8.499303], [47.38648, 8.541039], [47.405212, 8.505123], [47.373017, 8.531359], [47.397216, 8.5311], [47.365265, 8.521588], [47.381359, 8.512737], [47.386961, 8.534956], [47.385109, 8.476404], [47.359661, 8.549036], [47.375257, 8.523698], [47.379241, 8.5286], [47.37565, 8.537332], [47.354234, 8.554986], [47.385807, 8.526734], [47.364907, 8.530994], [47.378324, 8.530395], [47.359178, 8.596458], [47.381372, 8.518075], [47.375548, 8.524313], [47.379301, 8.525992], [47.390691, 8.478844], [47.420592, 8.540804], [47.383768, 8.515792], [47.384964, 8.532147], [47.383683, 8.588104], [47.415446, 8.54462], [47.374697, 8.55789], [47.37935, 8.495494], [47.376592, 8.53665], [47.4244, 8.552692], [47.389996, 8.484063], [47.366961, 8.543905], [47.36677, 8.501918], [47.370977, 8.530205], [47.414524, 8.54419], [47.386315, 8.499116], [47.406837, 8.550364], [47.378083, 8.530178], [47.372117, 8.521847], [47.399555, 8.496319], [47.369434, 8.52591], [47.392108, 8.510821], [47.375349, 8.485404], [47.354979, 8.554233], [47.371146, 8.53038], [47.39006, 8.525854], [47.371124, 8.520277], [47.407189, 8.50344], [47.41151, 8.532864], [47.359925, 8.580099], [47.399946, 8.544841], [47.403344, 8.48614], [47.382009, 8.530749], [47.387185, 8.509186], [47.378417, 8.540514], [47.40754, 8.503368], [47.379197, 8.564143], [47.378414, 8.543653], [47.378516, 8.541404], [47.361626, 8.5486], [47.394143, 8.525063], [47.370985, 8.535938], [47.398832, 8.533306], [47.372442, 8.523641], [47.407711, 8.578817], [47.369841, 8.510294], [47.371042, 8.535701], [47.387614, 8.498678], [47.378235, 8.528394], [47.381164, 8.582673], [47.373317, 8.524347], [47.414166, 8.546793], [47.38457, 8.509835], [47.384491, 8.51639], [47.351648, 8.576599], [47.370713, 8.535231], [47.370013, 8.564121], [47.370463, 8.524633], [47.360324, 8.562394], [47.370394, 8.534774], [47.380655, 8.556651], [47.362489, 8.534585], [47.371212, 8.527204], [47.356772, 8.573293], [47.385062, 8.495462], [47.377758, 8.52845], [47.378155, 8.548163], [47.361911, 8.531039], [47.385484, 8.529456], [47.365242, 8.53071], [47.409837, 8.545166], [47.357632, 8.521142], [47.373663, 8.54664], [47.408737, 8.579661], [47.380399, 8.512493], [47.406725, 8.584825], [47.373444, 8.512657], [47.373845, 8.537878], [47.399668, 8.517121], [47.386642, 8.547704], [47.366437, 8.5413], [47.376157, 8.544507], [47.363434, 8.546758], [47.338Line truncated
|
||||
{heatmapOptions: {
|
||||
radius: 15,
|
||||
blur: 0.8,
|
||||
minOpacity: 0,
|
||||
maxOpacity: 0.8,
|
||||
scaleRadius: false,
|
||||
useLocalExtrema: false,
|
||||
defaultWeight: 1,
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
heat_map_9f26dae603b077b11216d5a0957079cb.addTo(map_c0fb97d6ede857e174bfd07595101d7f);
|
||||
|
||||
|
||||
|
||||
function geo_json_d3b5e793a24586dd4abb3bd4b047998c_onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
});
|
||||
};
|
||||
var geo_json_d3b5e793a24586dd4abb3bd4b047998c = L.geoJson(null, {
|
||||
onEachFeature: geo_json_d3b5e793a24586dd4abb3bd4b047998c_onEachFeature,
|
||||
|
||||
color: "red",
|
||||
lineCap: "butt",
|
||||
});
|
||||
|
||||
function geo_json_d3b5e793a24586dd4abb3bd4b047998c_add (data) {
|
||||
geo_json_d3b5e793a24586dd4abb3bd4b047998c
|
||||
.addData(data);
|
||||
}
|
||||
geo_json_d3b5e793a24586dd4abb3bd4b047998c_add({"bbox": [8.448293, 47.321997, 8.624578, 47.434636], "features": [{"bbox": [8.532577, 47.412827, 8.533152, 47.412876], "geometry": {"coordinates": [[[8.532577, 47.412829], [8.533142, 47.412876], [8.533152, 47.412827]]], "type": "MultiLineString"}, "id": "1", "properties": {}, "type": "Feature"}, {"bbox": [8.543837, 47.374485, 8.544665, 47.374604], "geometry": {"coordinates": [[[8.543837, 47.374485], [8.544665, 47.374604]]], "type": "MultiLineString"}, "id": "5", "properties": {}, "type": "Feature"}, {"bbox": [8.541209, 47.370563, 8.541881, 47.370639], "geometry": {"coordinates": [[[8.541881, 47.370639], [8.541296, 47.370568], [8.541209, 47.370563]]], "type": "MultiLineString"}, "id": "9", "properties": {}, "type": "Feature"}, {"bbox": [8.501706, 47.397164, 8.501995, 47.39748], "geometry": {"coordinates": [[[8.501706, 47.397164], [8.501995, 47.39748]]], "type": "MultiLineString"}, "id": "16", "properties": {}, "type": "Feature"}, {"bbox": [8.527873, 47.393296, 8.528327, 47.39385], "geometry": {"coordinates": [[[8.527873, 47.393296], [8.527925, 47.39336], [8.528327, 47.39385]]], "type": "MultiLineString"}, "id": "19", "properties": {}, "type": "Feature"}, {"bbox": [8.511984, 47.378623, 8.513415, 47.379239], "geometry": {"coordinates": [[[8.513415, 47.378623], [8.511984, 47.379239]]], "type": "MultiLineString"}, "id": "21", "properties": {}, "type": "Feature"}, {"bbox": [8.536573, 47.394811, 8.537319, 47.395433], "geometry": {"coordinates": [[[8.536573, 47.394811], [8.537319, 47.395433]]], "type": "MultiLineString"}, "id": "24", "properties": {}, "type": "Feature"}, {"bbox": [8.542352, 47.389479, 8.543263, 47.390012], "geometry": {"coordinates": [[[8.543263, 47.389479], [8.542352, 47.390012]]], "type": "MultiLineString"}, "id": "25", "properties": {}, "type": "Feature"}, {"bbox": [8.482142, 47.381751, 8.483071, 47.382723], "geometry": {"coordinates": [[[8.483071, 47.381751], [8.482219, 47.382656], [8.482142, 47.382723]]], "type": "MultiLineString"}, "id": "26", "properties": {}, "type": "Feature"}, {"bbox": [8.550837, 47.420621, 8.550895, 47.420814], "geometry": {"coordinates": [[[8.550837, 47.420621], [8.550888, 47.42075], [8.550895, 47.420814]]], "type": "MultiLineString"}, "id": "27", "properties": {}, "type": "Feature"}, {"bbox": [8.533441, 47.41146, 8.533492, 47.411726], "geometry": {"coordinates": [[[8.533492, 47.41146], [8.533441, 47.411726]]], "type": "MultiLineString"}, "id": "28", "properties": {}, "type": "Feature"}, {"bbox": [8.522748, 47.39664, 8.522895, 47.396988], "geometry": {"coordinates": [[[8.522895, 47.39664], [8.522808, 47.396832], [8.522748, 47.396988]]], "type": "MultiLineString"}, "id": "30", "properties": {}, "type": "Feature"}, {"bbox": [8.537918, 47.374671, 8.538566, 47.375913], "geometry": {"coordinates": [[[8.537918, 47.374671], [8.538296, 47.375415], [8.538522, 47.375829], [8.538566, 47.375913]]], "type": "MultiLineString"}, "id": "31", "properties": {}, "type": "Feature"}, {"bbox": [8.59043, 47.400018, 8.591483, 47.401341], "geometry": {"coordinates": [[[8.590931, 47.400018], [8.591065, 47.400282], [8.591367, 47.400796], [8.591483, 47.400991], [8.59043, 47.401341]]], "type": "MultiLineString"}, "id": "34", "properties": {}, "type": "Feature"}, {"bbox": [8.517249, 47.357448, 8.517781, 47.357527], "geometry": {"coordinates": [[[8.517781, 47.357527], [8.517697, 47.357509], [8.517249, 47.357448]]], "type": "MultiLineString"}, "id": "35", "properties": {}, "type": "Feature"}, {"bbox": [8.540659, 47.414308, 8.540744, 47.414948], "geometry": {"coordinates": [[[8.540659, 47.414308], [8.540744, 47.414948]]], "type": "MultiLineString"}, "id": "36", "properties": {}, "type": "Feature"}, {"bbox": [8.54312, 47.374727, 8.543836, 47.374743], "geometry": {"coordinates": [[[8.54312, 47.374743], [8.543836, 47.374727]]], "type": "MultiLineString"}, "id": "39", "properties": {}, "type": "Feature"}, {"bbox": [8.552453, 47.390338, 8.557834, 47.39182], "geometry": {"coordinates": [[[8.552453, 47.390344], [8.552491, 47.390338], [8.552515, 47.390354], [8.55256, 47.390403], [8.552599, 47.390455], [8.55263, 47.390509], [8.55263, 47.390509], [8.55263, 47.390509], [8.55264, 47.390537], [8.552646, 47.390565], [8.552649, 47.390593], [8.552649, 47.390594], [8.552657, 47.390883], [8.552657, 47.390883], [8.552655, 47.390919], [8.552648, 47.390954], [8.552638, 47.390989], [8.552623, 47.391023], [8.552604, 47.391056], [8.552558, 47.391128], [8.552534, 47.391172], [8.552515, 47.391216], [8.552502, 47.391262], [8.552495, 47.391308], [8.552485, 47.391397], [8.552485, 47.391409], [8.552486, 47.39142], [8.552488, 47.391431], [8.552492, 47.391442], [8.552497, 47.391452], [8.552504, 47.391463], [8.552513, 47.391475], [8.552524, 47.391486], [8.552537, 47.391497], [8.552548, 47.391505], [8.55256, 47.391512], [8.552573, 47.391518], [8.552587, 47.391524], [8.552627, 47.39154], [8.552669, 47.391554], [8.552713, 47.391565], [8.552758, 47.391573], [8.553774, 47.391727], Line truncated
|
||||
|
||||
|
||||
|
||||
|
||||
function geo_json_a974ff9d5196392d1d03b7e35845a51b_onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
});
|
||||
};
|
||||
var geo_json_a974ff9d5196392d1d03b7e35845a51b = L.geoJson(null, {
|
||||
onEachFeature: geo_json_a974ff9d5196392d1d03b7e35845a51b_onEachFeature,
|
||||
|
||||
color: "blue",
|
||||
lineCap: "butt",
|
||||
});
|
||||
|
||||
function geo_json_a974ff9d5196392d1d03b7e35845a51b_add (data) {
|
||||
geo_json_a974ff9d5196392d1d03b7e35845a51b
|
||||
.addData(data);
|
||||
}
|
||||
geo_json_a974ff9d5196392d1d03b7e35845a51b_add({"bbox": [8.489448, 47.32782, 8.573066, 47.428918], "features": [{"bbox": [8.489832, 47.425877, 8.49201, 47.426174], "geometry": {"coordinates": [[[8.489832, 47.425877], [8.490106, 47.42593], [8.490558, 47.425996], [8.491012, 47.426058], [8.491467, 47.426115], [8.491916, 47.426165], [8.49201, 47.426174]]], "type": "MultiLineString"}, "id": "462", "properties": {}, "type": "Feature"}, {"bbox": [8.57247, 47.411231, 8.573066, 47.411421], "geometry": {"coordinates": [[[8.57247, 47.411231], [8.57253, 47.411245], [8.572589, 47.41126], [8.572647, 47.411277], [8.572786, 47.411326], [8.572925, 47.411374], [8.573066, 47.411421]]], "type": "MultiLineString"}, "id": "557", "properties": {}, "type": "Feature"}, {"bbox": [8.521152, 47.347638, 8.522562, 47.348648], "geometry": {"coordinates": [[[8.521152, 47.347638], [8.522562, 47.348648]]], "type": "MultiLineString"}, "id": "768", "properties": {}, "type": "Feature"}, {"bbox": [8.522837, 47.349321, 8.52424, 47.350696], "geometry": {"coordinates": [[[8.52424, 47.350696], [8.52412, 47.350575], [8.523774, 47.350158], [8.523385, 47.34976], [8.522954, 47.349382], [8.522837, 47.349321]]], "type": "MultiLineString"}, "id": "770", "properties": {}, "type": "Feature"}, {"bbox": [8.524787, 47.350174, 8.525439, 47.354153], "geometry": {"coordinates": [[[8.524787, 47.350174], [8.524984, 47.350403], [8.525157, 47.350641], [8.525304, 47.350886], [8.525383, 47.351122], [8.525428, 47.351362], [8.525439, 47.351604], [8.525417, 47.351846], [8.525361, 47.352084], [8.524901, 47.353943], [8.524804, 47.354153]]], "type": "MultiLineString"}, "id": "776", "properties": {}, "type": "Feature"}, {"bbox": [8.521938, 47.337288, 8.522723, 47.340986], "geometry": {"coordinates": [[[8.521938, 47.340986], [8.52207, 47.340589], [8.522176, 47.340188], [8.522256, 47.339784], [8.522478, 47.338292], [8.522531, 47.337954], [8.522613, 47.337619], [8.522723, 47.337288]]], "type": "MultiLineString"}, "id": "1232", "properties": {}, "type": "Feature"}, {"bbox": [8.524548, 47.34986, 8.524793, 47.350174], "geometry": {"coordinates": [[[8.524548, 47.34986], [8.524622, 47.349976], [8.524793, 47.350142], [8.524787, 47.350174]]], "type": "MultiLineString"}, "id": "1362", "properties": {}, "type": "Feature"}, {"bbox": [8.57196, 47.411254, 8.572986, 47.411458], "geometry": {"coordinates": [[[8.57196, 47.411254], [8.572154, 47.411303], [8.572354, 47.411361], [8.57256, 47.411406], [8.572771, 47.411439], [8.572986, 47.411458]]], "type": "MultiLineString"}, "id": "1618", "properties": {}, "type": "Feature"}, {"bbox": [8.57196, 47.411254, 8.572959, 47.41148], "geometry": {"coordinates": [[[8.57196, 47.411254], [8.572013, 47.411282], [8.572068, 47.411308], [8.572126, 47.411331], [8.572398, 47.411396], [8.572676, 47.411446], [8.572959, 47.41148]]], "type": "MultiLineString"}, "id": "1663", "properties": {}, "type": "Feature"}, {"bbox": [8.493733, 47.425845, 8.498406, 47.426749], "geometry": {"coordinates": [[[8.493733, 47.425845], [8.494012, 47.425956], [8.494305, 47.426049], [8.494609, 47.426123], [8.494922, 47.426176], [8.495874, 47.426342], [8.496105, 47.426388], [8.496337, 47.426427], [8.496572, 47.42646], [8.496934, 47.426511], [8.497297, 47.426556], [8.497661, 47.426596], [8.497914, 47.426637], [8.498162, 47.426687], [8.498406, 47.426749]]], "type": "MultiLineString"}, "id": "1751", "properties": {}, "type": "Feature"}, {"bbox": [8.519241, 47.340986, 8.525016, 47.368373], "geometry": {"coordinates": [[[8.524329, 47.368373], [8.524151, 47.368262], [8.523806, 47.367908], [8.52359, 47.36768], [8.523395, 47.367443], [8.52322, 47.367199], [8.523076, 47.366956], [8.522955, 47.366707], [8.522858, 47.366454], [8.522779, 47.36619], [8.522725, 47.365923], [8.522696, 47.365654], [8.522662, 47.364671], [8.522641, 47.36389], [8.52264, 47.36361], [8.52265, 47.36333], [8.522671, 47.36305], [8.522701, 47.362739], [8.522748, 47.362428], [8.522813, 47.36212], [8.522943, 47.361502], [8.523009, 47.36115], [8.523109, 47.360742], [8.52322, 47.360335], [8.523344, 47.35993], [8.523789, 47.358609], [8.523929, 47.358207], [8.524052, 47.357802], [8.524158, 47.357395], [8.524238, 47.357019], [8.524303, 47.356641], [8.524353, 47.356262], [8.524485, 47.355241], [8.524531, 47.354871], [8.52458, 47.3545], [8.52463, 47.354129], [8.524679, 47.353795], [8.524764, 47.353611], [8.524892, 47.352927], [8.524952, 47.352634], [8.524993, 47.35234], [8.525016, 47.352044], [8.525006, 47.351769], [8.524963, 47.351496], [8.524888, 47.351226], [8.524775, 47.350936], [8.524624, 47.350654], [8.524436, 47.350383], [8.524287, 47.350195], [8.524118, 47.350015], [8.523931, 47.349843], [8.523757, 47.3497], [8.523577, 47.349561], [8.523391, 47.349425], [8.522913, 47.349082], [8.522434, 47.34874], [8.521778, 47.348271], [8.521362, 47.347973], [8.520947, 47.347673], [8.520535, 47.347371], [8.520393, 47.347269], [8.520259, 47.347161], [8.520135, 47.347049], [8.519946, 47.346875], [8.519777, 47.346691], [8.51963, 47.34649Line truncated
|
||||
|
||||
|
||||
|
||||
|
||||
function geo_json_6bb1623050cb4e0ec89ed5a45da41c4b_onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
});
|
||||
};
|
||||
var geo_json_6bb1623050cb4e0ec89ed5a45da41c4b = L.geoJson(null, {
|
||||
onEachFeature: geo_json_6bb1623050cb4e0ec89ed5a45da41c4b_onEachFeature,
|
||||
|
||||
color: "green",
|
||||
lineCap: "butt",
|
||||
});
|
||||
|
||||
function geo_json_6bb1623050cb4e0ec89ed5a45da41c4b_add (data) {
|
||||
geo_json_6bb1623050cb4e0ec89ed5a45da41c4b
|
||||
.addData(data);
|
||||
}
|
||||
geo_json_6bb1623050cb4e0ec89ed5a45da41c4b_add({"bbox": [8.473817, 47.329996, 8.588909, 47.430697], "features": [{"bbox": [8.52537, 47.344522, 8.526618, 47.346441], "geometry": {"coordinates": [[[8.526618, 47.344522], [8.526607, 47.344546], [8.526319, 47.345263], [8.526063, 47.345826], [8.525971, 47.345962], [8.525799, 47.346123], [8.52537, 47.346441]]], "type": "MultiLineString"}, "id": "0", "properties": {}, "type": "Feature"}, {"bbox": [8.507275, 47.362922, 8.507933, 47.363372], "geometry": {"coordinates": [[[8.507933, 47.363372], [8.507275, 47.362922]]], "type": "MultiLineString"}, "id": "6", "properties": {}, "type": "Feature"}, {"bbox": [8.571312, 47.404493, 8.571907, 47.404839], "geometry": {"coordinates": [[[8.571907, 47.404493], [8.571312, 47.404839]]], "type": "MultiLineString"}, "id": "20", "properties": {}, "type": "Feature"}, {"bbox": [8.556426, 47.355728, 8.557419, 47.356342], "geometry": {"coordinates": [[[8.556426, 47.355728], [8.556525, 47.355821], [8.557419, 47.356342]]], "type": "MultiLineString"}, "id": "49", "properties": {}, "type": "Feature"}, {"bbox": [8.530657, 47.369654, 8.530854, 47.36977], "geometry": {"coordinates": [[[8.530854, 47.36977], [8.530657, 47.369654]]], "type": "MultiLineString"}, "id": "73", "properties": {}, "type": "Feature"}, {"bbox": [8.516052, 47.379632, 8.516431, 47.379785], "geometry": {"coordinates": [[[8.516052, 47.379632], [8.516431, 47.379785]]], "type": "MultiLineString"}, "id": "108", "properties": {}, "type": "Feature"}, {"bbox": [8.506411, 47.357432, 8.507645, 47.358833], "geometry": {"coordinates": [[[8.507645, 47.357432], [8.506411, 47.358833]]], "type": "MultiLineString"}, "id": "116", "properties": {}, "type": "Feature"}, {"bbox": [8.522213, 47.372919, 8.524098, 47.374107], "geometry": {"coordinates": [[[8.524098, 47.372919], [8.522213, 47.374107]]], "type": "MultiLineString"}, "id": "119", "properties": {}, "type": "Feature"}, {"bbox": [8.55933, 47.364188, 8.559794, 47.364625], "geometry": {"coordinates": [[[8.55933, 47.364188], [8.559794, 47.364625]]], "type": "MultiLineString"}, "id": "152", "properties": {}, "type": "Feature"}, {"bbox": [8.506079, 47.421856, 8.506808, 47.423098], "geometry": {"coordinates": [[[8.506808, 47.423098], [8.506079, 47.421856]]], "type": "MultiLineString"}, "id": "153", "properties": {}, "type": "Feature"}, {"bbox": [8.504725, 47.400335, 8.505107, 47.400546], "geometry": {"coordinates": [[[8.505107, 47.400335], [8.504725, 47.400546]]], "type": "MultiLineString"}, "id": "154", "properties": {}, "type": "Feature"}, {"bbox": [8.516266, 47.389102, 8.517307, 47.389447], "geometry": {"coordinates": [[[8.516266, 47.389447], [8.516973, 47.389213], [8.517307, 47.389102]]], "type": "MultiLineString"}, "id": "155", "properties": {}, "type": "Feature"}, {"bbox": [8.485704, 47.382034, 8.486363, 47.382327], "geometry": {"coordinates": [[[8.486363, 47.382034], [8.486256, 47.382076], [8.485704, 47.382327]]], "type": "MultiLineString"}, "id": "158", "properties": {}, "type": "Feature"}, {"bbox": [8.512933, 47.415712, 8.513599, 47.416645], "geometry": {"coordinates": [[[8.512933, 47.415712], [8.513017, 47.415829], [8.513599, 47.416645]]], "type": "MultiLineString"}, "id": "163", "properties": {}, "type": "Feature"}, {"bbox": [8.485613, 47.387026, 8.486328, 47.387179], "geometry": {"coordinates": [[[8.486328, 47.387026], [8.485613, 47.387179]]], "type": "MultiLineString"}, "id": "172", "properties": {}, "type": "Feature"}, {"bbox": [8.504001, 47.363279, 8.505468, 47.364569], "geometry": {"coordinates": [[[8.505468, 47.363279], [8.504664, 47.363971], [8.504043, 47.364501], [8.504001, 47.364569]]], "type": "MultiLineString"}, "id": "186", "properties": {}, "type": "Feature"}, {"bbox": [8.503245, 47.360492, 8.504669, 47.361708], "geometry": {"coordinates": [[[8.504669, 47.360492], [8.503995, 47.361077], [8.503245, 47.361708]]], "type": "MultiLineString"}, "id": "191", "properties": {}, "type": "Feature"}, {"bbox": [8.498144, 47.384173, 8.499109, 47.384529], "geometry": {"coordinates": [[[8.499109, 47.384173], [8.498323, 47.384529], [8.498249, 47.384443], [8.498144, 47.384338]]], "type": "MultiLineString"}, "id": "201", "properties": {}, "type": "Feature"}, {"bbox": [8.525414, 47.416219, 8.527906, 47.416403], "geometry": {"coordinates": [[[8.527906, 47.416219], [8.527546, 47.416254], [8.526018, 47.416361], [8.525414, 47.416403]]], "type": "MultiLineString"}, "id": "216", "properties": {}, "type": "Feature"}, {"bbox": [8.512685, 47.372794, 8.513929, 47.373491], "geometry": {"coordinates": [[[8.513929, 47.373491], [8.512685, 47.372794]]], "type": "MultiLineString"}, "id": "218", "properties": {}, "type": "Feature"}, {"bbox": [8.527351, 47.391713, 8.528367, 47.392694], "geometry": {"coordinates": [[[8.527351, 47.391713], [8.527913, 47.392255], [8.528171, 47.392504], [8.528367, 47.392694]]], "type": "MultiLineString"}, "id": "224", "properties": {}, "type": "Feature"}, {"bbox": [8.527054, 47.383833, 8.529374, 47.384949], "geometry":Line truncated
|
||||
|
||||
|
||||
|
||||
|
||||
function geo_json_7d2ed2385b9ebf3ce3a147366e3f4d16_onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
});
|
||||
};
|
||||
var geo_json_7d2ed2385b9ebf3ce3a147366e3f4d16 = L.geoJson(null, {
|
||||
onEachFeature: geo_json_7d2ed2385b9ebf3ce3a147366e3f4d16_onEachFeature,
|
||||
|
||||
color: "orange",
|
||||
lineCap: "butt",
|
||||
});
|
||||
|
||||
function geo_json_7d2ed2385b9ebf3ce3a147366e3f4d16_add (data) {
|
||||
geo_json_7d2ed2385b9ebf3ce3a147366e3f4d16
|
||||
.addData(data);
|
||||
}
|
||||
geo_json_7d2ed2385b9ebf3ce3a147366e3f4d16_add({"bbox": [8.465219, 47.322732, 8.609922, 47.431186], "features": [{"bbox": [8.526294, 47.38038, 8.526913, 47.380991], "geometry": {"coordinates": [[[8.526294, 47.38038], [8.526697, 47.380714], [8.526913, 47.380991]]], "type": "MultiLineString"}, "id": "2", "properties": {}, "type": "Feature"}, {"bbox": [8.529712, 47.38331, 8.530426, 47.383664], "geometry": {"coordinates": [[[8.530426, 47.38331], [8.529712, 47.383664]]], "type": "MultiLineString"}, "id": "8", "properties": {}, "type": "Feature"}, {"bbox": [8.560362, 47.406659, 8.560408, 47.408223], "geometry": {"coordinates": [[[8.560408, 47.406659], [8.560394, 47.40744], [8.560362, 47.408223]]], "type": "MultiLineString"}, "id": "10", "properties": {}, "type": "Feature"}, {"bbox": [8.556746, 47.378131, 8.5575, 47.378283], "geometry": {"coordinates": [[[8.556746, 47.378131], [8.5575, 47.378283]]], "type": "MultiLineString"}, "id": "13", "properties": {}, "type": "Feature"}, {"bbox": [8.549788, 47.359601, 8.550858, 47.35983], "geometry": {"coordinates": [[[8.549788, 47.359601], [8.549795, 47.359601], [8.550858, 47.35983]]], "type": "MultiLineString"}, "id": "14", "properties": {}, "type": "Feature"}, {"bbox": [8.523533, 47.373119, 8.52424, 47.373605], "geometry": {"coordinates": [[[8.52424, 47.373119], [8.523533, 47.373605]]], "type": "MultiLineString"}, "id": "15", "properties": {}, "type": "Feature"}, {"bbox": [8.525769, 47.377626, 8.526264, 47.378218], "geometry": {"coordinates": [[[8.525769, 47.377626], [8.526264, 47.378218]]], "type": "MultiLineString"}, "id": "18", "properties": {}, "type": "Feature"}, {"bbox": [8.5148, 47.371934, 8.516492, 47.373999], "geometry": {"coordinates": [[[8.516492, 47.371934], [8.515732, 47.372636], [8.514988, 47.373334], [8.5148, 47.373999]]], "type": "MultiLineString"}, "id": "22", "properties": {}, "type": "Feature"}, {"bbox": [8.532199, 47.369381, 8.532998, 47.370024], "geometry": {"coordinates": [[[8.532998, 47.370024], [8.532199, 47.369381]]], "type": "MultiLineString"}, "id": "23", "properties": {}, "type": "Feature"}, {"bbox": [8.554234, 47.367853, 8.555784, 47.369171], "geometry": {"coordinates": [[[8.554234, 47.369171], [8.555784, 47.367853]]], "type": "MultiLineString"}, "id": "33", "properties": {}, "type": "Feature"}, {"bbox": [8.545087, 47.416297, 8.54608, 47.416323], "geometry": {"coordinates": [[[8.545087, 47.416297], [8.545247, 47.4163], [8.54608, 47.416323]]], "type": "MultiLineString"}, "id": "37", "properties": {}, "type": "Feature"}, {"bbox": [8.540488, 47.386318, 8.540704, 47.387935], "geometry": {"coordinates": [[[8.540704, 47.386318], [8.540688, 47.386425], [8.540585, 47.387294], [8.540541, 47.387793], [8.540488, 47.387935]]], "type": "MultiLineString"}, "id": "38", "properties": {}, "type": "Feature"}, {"bbox": [8.556995, 47.356394, 8.5573, 47.356615], "geometry": {"coordinates": [[[8.556995, 47.356394], [8.5573, 47.356615]]], "type": "MultiLineString"}, "id": "41", "properties": {}, "type": "Feature"}, {"bbox": [8.529308, 47.33987, 8.529619, 47.340748], "geometry": {"coordinates": [[[8.529619, 47.340748], [8.529308, 47.339977], [8.529308, 47.33987]]], "type": "MultiLineString"}, "id": "42", "properties": {}, "type": "Feature"}, {"bbox": [8.521371, 47.359848, 8.522947, 47.360073], "geometry": {"coordinates": [[[8.522947, 47.360019], [8.522755, 47.360073], [8.521981, 47.359947], [8.521371, 47.359848]]], "type": "MultiLineString"}, "id": "51", "properties": {}, "type": "Feature"}, {"bbox": [8.516642, 47.369725, 8.51757, 47.370568], "geometry": {"coordinates": [[[8.51757, 47.370568], [8.516642, 47.369725]]], "type": "MultiLineString"}, "id": "52", "properties": {}, "type": "Feature"}, {"bbox": [8.552444, 47.357813, 8.554003, 47.358239], "geometry": {"coordinates": [[[8.552444, 47.357813], [8.554003, 47.358239]]], "type": "MultiLineString"}, "id": "53", "properties": {}, "type": "Feature"}, {"bbox": [8.550094, 47.363659, 8.55071, 47.364351], "geometry": {"coordinates": [[[8.550094, 47.364351], [8.550161, 47.364255], [8.55071, 47.363659]]], "type": "MultiLineString"}, "id": "54", "properties": {}, "type": "Feature"}, {"bbox": [8.541628, 47.388476, 8.542347, 47.38875], "geometry": {"coordinates": [[[8.541628, 47.388476], [8.542187, 47.388687], [8.542347, 47.38875]]], "type": "MultiLineString"}, "id": "55", "properties": {}, "type": "Feature"}, {"bbox": [8.51233, 47.377452, 8.513397, 47.378251], "geometry": {"coordinates": [[[8.51233, 47.377452], [8.513397, 47.378251]]], "type": "MultiLineString"}, "id": "56", "properties": {}, "type": "Feature"}, {"bbox": [8.550419, 47.401981, 8.551467, 47.402198], "geometry": {"coordinates": [[[8.550419, 47.402198], [8.550591, 47.402185], [8.551467, 47.401981]]], "type": "MultiLineString"}, "id": "57", "properties": {}, "type": "Feature"}, {"bbox": [8.505445, 47.391584, 8.507126, 47.39263], "geometry": {"coordinates": [[[8.507126, 47.39263], [8.505445, 47.391584]]], "type": "MultiLineString"}, "id": "58", "propertiLine truncated
|
||||
|
||||
|
||||
|
||||
|
||||
function geo_json_39a2442dd5dc719a7869abc934246600_onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
});
|
||||
};
|
||||
var geo_json_39a2442dd5dc719a7869abc934246600 = L.geoJson(null, {
|
||||
onEachFeature: geo_json_39a2442dd5dc719a7869abc934246600_onEachFeature,
|
||||
|
||||
color: "yellow",
|
||||
lineCap: "butt",
|
||||
});
|
||||
|
||||
function geo_json_39a2442dd5dc719a7869abc934246600_add (data) {
|
||||
geo_json_39a2442dd5dc719a7869abc934246600
|
||||
.addData(data);
|
||||
}
|
||||
geo_json_39a2442dd5dc719a7869abc934246600_add({"bbox": [8.466975, 47.322819, 8.625403, 47.432856], "features": [{"bbox": [8.534083, 47.361296, 8.535362, 47.361328], "geometry": {"coordinates": [[[8.535362, 47.361328], [8.534083, 47.361296]]], "type": "MultiLineString"}, "id": "3", "properties": {}, "type": "Feature"}, {"bbox": [8.57154, 47.379694, 8.573596, 47.381487], "geometry": {"coordinates": [[[8.57154, 47.381487], [8.572105, 47.380994], [8.572606, 47.380557], [8.573584, 47.379705], [8.573596, 47.379694]]], "type": "MultiLineString"}, "id": "4", "properties": {}, "type": "Feature"}, {"bbox": [8.549103, 47.369047, 8.549754, 47.369418], "geometry": {"coordinates": [[[8.549103, 47.369047], [8.549754, 47.369418]]], "type": "MultiLineString"}, "id": "7", "properties": {}, "type": "Feature"}, {"bbox": [8.538568, 47.408962, 8.539572, 47.409293], "geometry": {"coordinates": [[[8.539572, 47.408962], [8.538568, 47.409293]]], "type": "MultiLineString"}, "id": "11", "properties": {}, "type": "Feature"}, {"bbox": [8.522852, 47.391122, 8.523937, 47.392247], "geometry": {"coordinates": [[[8.522852, 47.391122], [8.523449, 47.391739], [8.523937, 47.392247]]], "type": "MultiLineString"}, "id": "12", "properties": {}, "type": "Feature"}, {"bbox": [8.548372, 47.405622, 8.549952, 47.405902], "geometry": {"coordinates": [[[8.549952, 47.405622], [8.549786, 47.405652], [8.548372, 47.405902]]], "type": "MultiLineString"}, "id": "17", "properties": {}, "type": "Feature"}, {"bbox": [8.53193, 47.364624, 8.532946, 47.36485], "geometry": {"coordinates": [[[8.532946, 47.36485], [8.532801, 47.364819], [8.53193, 47.364624]]], "type": "MultiLineString"}, "id": "29", "properties": {}, "type": "Feature"}, {"bbox": [8.538714, 47.384969, 8.539891, 47.385433], "geometry": {"coordinates": [[[8.538714, 47.384969], [8.539719, 47.385366], [8.539891, 47.385433]]], "type": "MultiLineString"}, "id": "32", "properties": {}, "type": "Feature"}, {"bbox": [8.514463, 47.38247, 8.515148, 47.383187], "geometry": {"coordinates": [[[8.514463, 47.38247], [8.515148, 47.383187]]], "type": "MultiLineString"}, "id": "62", "properties": {}, "type": "Feature"}, {"bbox": [8.535767, 47.371305, 8.536081, 47.371525], "geometry": {"coordinates": [[[8.536081, 47.371305], [8.535767, 47.371525]]], "type": "MultiLineString"}, "id": "64", "properties": {}, "type": "Feature"}, {"bbox": [8.517781, 47.357527, 8.519971, 47.358065], "geometry": {"coordinates": [[[8.519971, 47.358065], [8.519593, 47.357921], [8.518869, 47.357758], [8.517781, 47.357527]]], "type": "MultiLineString"}, "id": "67", "properties": {}, "type": "Feature"}, {"bbox": [8.491048, 47.388258, 8.491568, 47.389588], "geometry": {"coordinates": [[[8.491048, 47.388258], [8.491345, 47.389023], [8.491568, 47.389588]]], "type": "MultiLineString"}, "id": "70", "properties": {}, "type": "Feature"}, {"bbox": [8.534472, 47.37238, 8.534696, 47.372597], "geometry": {"coordinates": [[[8.534696, 47.37238], [8.534472, 47.372597]]], "type": "MultiLineString"}, "id": "74", "properties": {}, "type": "Feature"}, {"bbox": [8.514814, 47.37048, 8.515401, 47.370986], "geometry": {"coordinates": [[[8.515401, 47.37048], [8.514814, 47.370986]]], "type": "MultiLineString"}, "id": "77", "properties": {}, "type": "Feature"}, {"bbox": [8.488771, 47.390623, 8.489673, 47.391012], "geometry": {"coordinates": [[[8.48963, 47.390623], [8.489673, 47.39074], [8.489513, 47.390815], [8.488771, 47.391012]]], "type": "MultiLineString"}, "id": "82", "properties": {}, "type": "Feature"}, {"bbox": [8.538567, 47.367639, 8.539962, 47.367905], "geometry": {"coordinates": [[[8.539962, 47.367905], [8.539848, 47.367883], [8.539185, 47.367741], [8.538567, 47.367639]]], "type": "MultiLineString"}, "id": "83", "properties": {}, "type": "Feature"}, {"bbox": [8.542347, 47.387779, 8.544033, 47.38875], "geometry": {"coordinates": [[[8.542347, 47.38875], [8.543686, 47.387962], [8.543889, 47.387864], [8.544033, 47.387779]]], "type": "MultiLineString"}, "id": "86", "properties": {}, "type": "Feature"}, {"bbox": [8.554059, 47.369316, 8.554799, 47.369461], "geometry": {"coordinates": [[[8.554059, 47.369461], [8.554551, 47.36936], [8.554799, 47.369316]]], "type": "MultiLineString"}, "id": "102", "properties": {}, "type": "Feature"}, {"bbox": [8.553706, 47.364725, 8.554431, 47.364979], "geometry": {"coordinates": [[[8.553706, 47.364979], [8.554431, 47.364725]]], "type": "MultiLineString"}, "id": "121", "properties": {}, "type": "Feature"}, {"bbox": [8.551746, 47.3823, 8.55231, 47.382622], "geometry": {"coordinates": [[[8.551746, 47.3823], [8.55231, 47.382622]]], "type": "MultiLineString"}, "id": "132", "properties": {}, "type": "Feature"}, {"bbox": [8.523492, 47.367222, 8.523815, 47.367706], "geometry": {"coordinates": [[[8.523492, 47.367222], [8.523577, 47.367362], [8.523815, 47.367706]]], "type": "MultiLineString"}, "id": "134", "properties": {}, "type": "Feature"}, {"bbox": [8.546182, 47.410199, 8.546351, 47.410431], "geometry": {"coordinates": [[[8.546182, Line truncated
|
||||
|
||||
|
||||
|
||||
|
||||
function geo_json_1fccbd102077369d9d710e92d1a81f55_onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
});
|
||||
};
|
||||
var geo_json_1fccbd102077369d9d710e92d1a81f55 = L.geoJson(null, {
|
||||
onEachFeature: geo_json_1fccbd102077369d9d710e92d1a81f55_onEachFeature,
|
||||
|
||||
color: "purple",
|
||||
lineCap: "butt",
|
||||
});
|
||||
|
||||
function geo_json_1fccbd102077369d9d710e92d1a81f55_add (data) {
|
||||
geo_json_1fccbd102077369d9d710e92d1a81f55
|
||||
.addData(data);
|
||||
}
|
||||
geo_json_1fccbd102077369d9d710e92d1a81f55_add({"bbox": [8.464875, 47.32782, 8.603041, 47.433118], "features": [{"bbox": [8.480283, 47.396647, 8.481095, 47.397003], "geometry": {"coordinates": [[[8.481095, 47.396647], [8.480283, 47.397003]]], "type": "MultiLineString"}, "id": "69", "properties": {}, "type": "Feature"}, {"bbox": [8.522281, 47.34823, 8.524548, 47.34986], "geometry": {"coordinates": [[[8.524548, 47.34986], [8.522281, 47.34823]]], "type": "MultiLineString"}, "id": "85", "properties": {}, "type": "Feature"}, {"bbox": [8.565439, 47.406938, 8.568783, 47.409581], "geometry": {"coordinates": [[[8.568783, 47.409581], [8.568584, 47.40943], [8.568392, 47.409275], [8.568207, 47.409117], [8.56659, 47.407731], [8.566223, 47.407456], [8.565839, 47.407191], [8.565439, 47.406938]]], "type": "MultiLineString"}, "id": "202", "properties": {}, "type": "Feature"}, {"bbox": [8.524084, 47.352796, 8.524746, 47.353593], "geometry": {"coordinates": [[[8.524084, 47.353593], [8.524184, 47.353454], [8.524746, 47.352796]]], "type": "MultiLineString"}, "id": "231", "properties": {}, "type": "Feature"}, {"bbox": [8.48099, 47.397585, 8.481654, 47.397763], "geometry": {"coordinates": [[[8.481654, 47.397585], [8.48099, 47.397763]]], "type": "MultiLineString"}, "id": "344", "properties": {}, "type": "Feature"}, {"bbox": [8.51938, 47.343169, 8.519399, 47.343373], "geometry": {"coordinates": [[[8.519399, 47.343373], [8.51938, 47.343169]]], "type": "MultiLineString"}, "id": "357", "properties": {}, "type": "Feature"}, {"bbox": [8.529733, 47.329927, 8.52988, 47.332387], "geometry": {"coordinates": [[[8.52988, 47.332387], [8.52987, 47.332314], [8.529859, 47.332234], [8.529846, 47.332155], [8.529807, 47.331749], [8.529735, 47.329937], [8.529733, 47.329927]]], "type": "MultiLineString"}, "id": "625", "properties": {}, "type": "Feature"}, {"bbox": [8.482418, 47.394171, 8.490168, 47.396148], "geometry": {"coordinates": [[[8.490168, 47.394171], [8.48959, 47.394288], [8.488673, 47.39449], [8.488298, 47.394572], [8.485099, 47.395396], [8.482418, 47.396148]]], "type": "MultiLineString"}, "id": "828", "properties": {}, "type": "Feature"}, {"bbox": [8.481654, 47.397474, 8.482072, 47.397585], "geometry": {"coordinates": [[[8.482072, 47.397474], [8.481654, 47.397585]]], "type": "MultiLineString"}, "id": "1019", "properties": {}, "type": "Feature"}, {"bbox": [8.489022, 47.426082, 8.491949, 47.426889], "geometry": {"coordinates": [[[8.491949, 47.426889], [8.491333, 47.426631], [8.490908, 47.42648], [8.490463, 47.426358], [8.490003, 47.426265], [8.489022, 47.426082]]], "type": "MultiLineString"}, "id": "1028", "properties": {}, "type": "Feature"}, {"bbox": [8.568783, 47.409581, 8.570557, 47.410693], "geometry": {"coordinates": [[[8.570557, 47.410693], [8.570015, 47.410377], [8.56949, 47.410048], [8.568983, 47.409706], [8.568921, 47.409661], [8.568854, 47.409619], [8.568783, 47.409581]]], "type": "MultiLineString"}, "id": "1095", "properties": {}, "type": "Feature"}, {"bbox": [8.560857, 47.348142, 8.562669, 47.350019], "geometry": {"coordinates": [[[8.560857, 47.350019], [8.561239, 47.349659], [8.561547, 47.349369], [8.562067, 47.348817], [8.562669, 47.348142]]], "type": "MultiLineString"}, "id": "1132", "properties": {}, "type": "Feature"}, {"bbox": [8.482748, 47.39511, 8.484653, 47.39559], "geometry": {"coordinates": [[[8.484653, 47.39511], [8.483797, 47.395321], [8.482748, 47.39559]]], "type": "MultiLineString"}, "id": "1161", "properties": {}, "type": "Feature"}, {"bbox": [8.485481, 47.429203, 8.488026, 47.43069], "geometry": {"coordinates": [[[8.488026, 47.429203], [8.486952, 47.429831], [8.485481, 47.43069]]], "type": "MultiLineString"}, "id": "1166", "properties": {}, "type": "Feature"}, {"bbox": [8.529735, 47.32959, 8.531346, 47.329937], "geometry": {"coordinates": [[[8.529735, 47.329937], [8.530986, 47.329696], [8.531082, 47.329676], [8.531176, 47.329651], [8.531267, 47.329621], [8.531346, 47.32959]]], "type": "MultiLineString"}, "id": "1185", "properties": {}, "type": "Feature"}, {"bbox": [8.574158, 47.377449, 8.574712, 47.377605], "geometry": {"coordinates": [[[8.574158, 47.377605], [8.574254, 47.377592], [8.574616, 47.377488], [8.574664, 47.377471], [8.574709, 47.377451], [8.574712, 47.377449]]], "type": "MultiLineString"}, "id": "1276", "properties": {}, "type": "Feature"}, {"bbox": [8.588393, 47.383721, 8.589513, 47.383759], "geometry": {"coordinates": [[[8.588393, 47.383728], [8.588638, 47.383751], [8.58893, 47.383759], [8.589223, 47.383749], [8.589513, 47.383721]]], "type": "MultiLineString"}, "id": "1395", "properties": {}, "type": "Feature"}, {"bbox": [8.522162, 47.353593, 8.524084, 47.356703], "geometry": {"coordinates": [[[8.522162, 47.356703], [8.522163, 47.356701], [8.522644, 47.355935], [8.523984, 47.353732], [8.524084, 47.353593]]], "type": "MultiLineString"}, "id": "1431", "properties": {}, "type": "Feature"}, {"bbox": [8.480728, 47.39559, 8.482748, 47.396109], "geometry": {"coordinates": [[[8.482748, 47.39559]Line truncated
|
||||
|
||||
|
||||
|
||||
|
||||
function geo_json_e3f2261e44fbda4d0bbc5e48d503fc3b_onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
});
|
||||
};
|
||||
var geo_json_e3f2261e44fbda4d0bbc5e48d503fc3b = L.geoJson(null, {
|
||||
onEachFeature: geo_json_e3f2261e44fbda4d0bbc5e48d503fc3b_onEachFeature,
|
||||
|
||||
color: "pink",
|
||||
lineCap: "butt",
|
||||
});
|
||||
|
||||
function geo_json_e3f2261e44fbda4d0bbc5e48d503fc3b_add (data) {
|
||||
geo_json_e3f2261e44fbda4d0bbc5e48d503fc3b
|
||||
.addData(data);
|
||||
}
|
||||
geo_json_e3f2261e44fbda4d0bbc5e48d503fc3b_add({"bbox": [8.468934, 47.337319, 8.61566, 47.431727], "features": [{"bbox": [8.614494, 47.362625, 8.61566, 47.362754], "geometry": {"coordinates": [[[8.614494, 47.362625], [8.61566, 47.362754]]], "type": "MultiLineString"}, "id": "877", "properties": {}, "type": "Feature"}, {"bbox": [8.552368, 47.401961, 8.560729, 47.404787], "geometry": {"coordinates": [[[8.552368, 47.401961], [8.553003, 47.402248], [8.553643, 47.402531], [8.554287, 47.402809], [8.554932, 47.403051], [8.555592, 47.403276], [8.556263, 47.403482], [8.557087, 47.403698], [8.557911, 47.403913], [8.558736, 47.404128], [8.559384, 47.404297], [8.560009, 47.404503], [8.560607, 47.404743], [8.560648, 47.404758], [8.560688, 47.404772], [8.560729, 47.404787]]], "type": "MultiLineString"}, "id": "918", "properties": {}, "type": "Feature"}, {"bbox": [8.548757, 47.400223, 8.57196, 47.411254], "geometry": {"coordinates": [[[8.548757, 47.400223], [8.549185, 47.400372], [8.550713, 47.401194], [8.550767, 47.401216], [8.550821, 47.401238], [8.550876, 47.401259], [8.55137, 47.401496], [8.551868, 47.40173], [8.552368, 47.401961]], [[8.560729, 47.404787], [8.561127, 47.404917], [8.561534, 47.405034], [8.561949, 47.405137], [8.562333, 47.405224], [8.562706, 47.405331], [8.563064, 47.405457], [8.563408, 47.405602], [8.563733, 47.405766], [8.564321, 47.406105], [8.564902, 47.40645], [8.565475, 47.406801], [8.565587, 47.406874], [8.565698, 47.406947], [8.565808, 47.407022], [8.566117, 47.407234], [8.566418, 47.407451], [8.566713, 47.407672], [8.56818, 47.40894], [8.568476, 47.409188], [8.568624, 47.409311], [8.568776, 47.409432], [8.568932, 47.409549], [8.569092, 47.409665], [8.569255, 47.409779], [8.569423, 47.40989], [8.569608, 47.410007], [8.569795, 47.410121], [8.569986, 47.410233], [8.570348, 47.410442], [8.570503, 47.410531], [8.570661, 47.410619], [8.57082, 47.410705], [8.57103, 47.410819], [8.571242, 47.41093], [8.571457, 47.411039], [8.571618, 47.411118], [8.571786, 47.41119], [8.57196, 47.411254]]], "type": "MultiLineString"}, "id": "1718", "properties": {}, "type": "Feature"}, {"bbox": [8.568476, 47.409188, 8.57247, 47.411231], "geometry": {"coordinates": [[[8.568476, 47.409188], [8.569025, 47.409553], [8.569173, 47.40966], [8.569326, 47.409764], [8.569484, 47.409864], [8.569665, 47.409976], [8.569847, 47.410088], [8.57003, 47.410198], [8.570155, 47.410269], [8.570283, 47.410338], [8.570413, 47.410404], [8.570856, 47.410612], [8.571311, 47.410807], [8.571778, 47.410989], [8.57247, 47.411231]]], "type": "MultiLineString"}, "id": "1719", "properties": {}, "type": "Feature"}, {"bbox": [8.514979, 47.337319, 8.522937, 47.344322], "geometry": {"coordinates": [[[8.522937, 47.337319], [8.522718, 47.338718], [8.522629, 47.33948], [8.52251, 47.340241], [8.522361, 47.340999], [8.522245, 47.341359], [8.522086, 47.34171], [8.521885, 47.342052], [8.521642, 47.342381], [8.52136, 47.342696], [8.521041, 47.342993], [8.520686, 47.343271], [8.520316, 47.343481], [8.519921, 47.343669], [8.519504, 47.343834], [8.519068, 47.343974], [8.518616, 47.344089], [8.518152, 47.344177], [8.517678, 47.344238], [8.515905, 47.344284], [8.514979, 47.344322]]], "type": "MultiLineString"}, "id": "1720", "properties": {}, "type": "Feature"}, {"bbox": [8.468934, 47.394351, 8.488366, 47.402939], "geometry": {"coordinates": [[[8.468934, 47.402939], [8.469292, 47.40274], [8.469641, 47.402535], [8.469981, 47.402324], [8.470123, 47.402233], [8.470265, 47.402143], [8.470407, 47.402052], [8.470794, 47.401793], [8.471176, 47.40153], [8.471552, 47.401263], [8.471913, 47.401003], [8.472272, 47.400743], [8.472631, 47.400482], [8.473033, 47.400191], [8.47344, 47.399902], [8.473851, 47.399616], [8.474277, 47.399329], [8.474712, 47.399049], [8.475156, 47.398775], [8.475279, 47.398702], [8.475402, 47.39863], [8.475527, 47.398558], [8.475787, 47.39841], [8.47605, 47.398265], [8.476316, 47.398124], [8.476643, 47.39796], [8.476972, 47.397799], [8.477304, 47.397641], [8.477746, 47.397446], [8.478194, 47.397258], [8.478649, 47.397076], [8.47911, 47.396904], [8.479575, 47.396736], [8.480045, 47.396575], [8.480586, 47.396397], [8.481132, 47.396226], [8.481682, 47.396062], [8.482284, 47.395889], [8.482889, 47.395721], [8.483497, 47.395559], [8.484612, 47.39527], [8.485738, 47.394985], [8.487051, 47.394662], [8.48798, 47.39444], [8.488366, 47.394351]]], "type": "MultiLineString"}, "id": "1752", "properties": {}, "type": "Feature"}, {"bbox": [8.478036, 47.394453, 8.48836, 47.39753], "geometry": {"coordinates": [[[8.48836, 47.394453], [8.487998, 47.394565], [8.487633, 47.394674], [8.487266, 47.394779], [8.487027, 47.394848], [8.486786, 47.394912], [8.486542, 47.394973], [8.485906, 47.395131], [8.484848, 47.395394], [8.484632, 47.395453], [8.484417, 47.395513], [8.484202, 47.395574], [8.483581, 47.395759], [8.483137, 47.395888], [8.48289, 47.395965], [8.48265, 47.396052], [8.482418, 47.396148], [8.48166, 47.396362], [8.481524, 47.396411], [8.481387, 47.396459], [Line truncated
|
||||
|
||||
|
||||
|
||||
|
||||
function geo_json_7ba49a4fe43ea4ccac758fa8723f80be_onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
});
|
||||
};
|
||||
var geo_json_7ba49a4fe43ea4ccac758fa8723f80be = L.geoJson(null, {
|
||||
onEachFeature: geo_json_7ba49a4fe43ea4ccac758fa8723f80be_onEachFeature,
|
||||
|
||||
color: "gray",
|
||||
lineCap: "butt",
|
||||
});
|
||||
|
||||
function geo_json_7ba49a4fe43ea4ccac758fa8723f80be_add (data) {
|
||||
geo_json_7ba49a4fe43ea4ccac758fa8723f80be
|
||||
.addData(data);
|
||||
}
|
||||
geo_json_7ba49a4fe43ea4ccac758fa8723f80be_add({"bbox": [8.489448, 47.32782, 8.573066, 47.428918], "features": [{"bbox": [8.489832, 47.425877, 8.49201, 47.426174], "geometry": {"coordinates": [[[8.489832, 47.425877], [8.490106, 47.42593], [8.490558, 47.425996], [8.491012, 47.426058], [8.491467, 47.426115], [8.491916, 47.426165], [8.49201, 47.426174]]], "type": "MultiLineString"}, "id": "462", "properties": {}, "type": "Feature"}, {"bbox": [8.57247, 47.411231, 8.573066, 47.411421], "geometry": {"coordinates": [[[8.57247, 47.411231], [8.57253, 47.411245], [8.572589, 47.41126], [8.572647, 47.411277], [8.572786, 47.411326], [8.572925, 47.411374], [8.573066, 47.411421]]], "type": "MultiLineString"}, "id": "557", "properties": {}, "type": "Feature"}, {"bbox": [8.521152, 47.347638, 8.522562, 47.348648], "geometry": {"coordinates": [[[8.521152, 47.347638], [8.522562, 47.348648]]], "type": "MultiLineString"}, "id": "768", "properties": {}, "type": "Feature"}, {"bbox": [8.522837, 47.349321, 8.52424, 47.350696], "geometry": {"coordinates": [[[8.52424, 47.350696], [8.52412, 47.350575], [8.523774, 47.350158], [8.523385, 47.34976], [8.522954, 47.349382], [8.522837, 47.349321]]], "type": "MultiLineString"}, "id": "770", "properties": {}, "type": "Feature"}, {"bbox": [8.524787, 47.350174, 8.525439, 47.354153], "geometry": {"coordinates": [[[8.524787, 47.350174], [8.524984, 47.350403], [8.525157, 47.350641], [8.525304, 47.350886], [8.525383, 47.351122], [8.525428, 47.351362], [8.525439, 47.351604], [8.525417, 47.351846], [8.525361, 47.352084], [8.524901, 47.353943], [8.524804, 47.354153]]], "type": "MultiLineString"}, "id": "776", "properties": {}, "type": "Feature"}, {"bbox": [8.521938, 47.337288, 8.522723, 47.340986], "geometry": {"coordinates": [[[8.521938, 47.340986], [8.52207, 47.340589], [8.522176, 47.340188], [8.522256, 47.339784], [8.522478, 47.338292], [8.522531, 47.337954], [8.522613, 47.337619], [8.522723, 47.337288]]], "type": "MultiLineString"}, "id": "1232", "properties": {}, "type": "Feature"}, {"bbox": [8.524548, 47.34986, 8.524793, 47.350174], "geometry": {"coordinates": [[[8.524548, 47.34986], [8.524622, 47.349976], [8.524793, 47.350142], [8.524787, 47.350174]]], "type": "MultiLineString"}, "id": "1362", "properties": {}, "type": "Feature"}, {"bbox": [8.57196, 47.411254, 8.572986, 47.411458], "geometry": {"coordinates": [[[8.57196, 47.411254], [8.572154, 47.411303], [8.572354, 47.411361], [8.57256, 47.411406], [8.572771, 47.411439], [8.572986, 47.411458]]], "type": "MultiLineString"}, "id": "1618", "properties": {}, "type": "Feature"}, {"bbox": [8.57196, 47.411254, 8.572959, 47.41148], "geometry": {"coordinates": [[[8.57196, 47.411254], [8.572013, 47.411282], [8.572068, 47.411308], [8.572126, 47.411331], [8.572398, 47.411396], [8.572676, 47.411446], [8.572959, 47.41148]]], "type": "MultiLineString"}, "id": "1663", "properties": {}, "type": "Feature"}, {"bbox": [8.493733, 47.425845, 8.498406, 47.426749], "geometry": {"coordinates": [[[8.493733, 47.425845], [8.494012, 47.425956], [8.494305, 47.426049], [8.494609, 47.426123], [8.494922, 47.426176], [8.495874, 47.426342], [8.496105, 47.426388], [8.496337, 47.426427], [8.496572, 47.42646], [8.496934, 47.426511], [8.497297, 47.426556], [8.497661, 47.426596], [8.497914, 47.426637], [8.498162, 47.426687], [8.498406, 47.426749]]], "type": "MultiLineString"}, "id": "1751", "properties": {}, "type": "Feature"}, {"bbox": [8.519241, 47.340986, 8.525016, 47.368373], "geometry": {"coordinates": [[[8.524329, 47.368373], [8.524151, 47.368262], [8.523806, 47.367908], [8.52359, 47.36768], [8.523395, 47.367443], [8.52322, 47.367199], [8.523076, 47.366956], [8.522955, 47.366707], [8.522858, 47.366454], [8.522779, 47.36619], [8.522725, 47.365923], [8.522696, 47.365654], [8.522662, 47.364671], [8.522641, 47.36389], [8.52264, 47.36361], [8.52265, 47.36333], [8.522671, 47.36305], [8.522701, 47.362739], [8.522748, 47.362428], [8.522813, 47.36212], [8.522943, 47.361502], [8.523009, 47.36115], [8.523109, 47.360742], [8.52322, 47.360335], [8.523344, 47.35993], [8.523789, 47.358609], [8.523929, 47.358207], [8.524052, 47.357802], [8.524158, 47.357395], [8.524238, 47.357019], [8.524303, 47.356641], [8.524353, 47.356262], [8.524485, 47.355241], [8.524531, 47.354871], [8.52458, 47.3545], [8.52463, 47.354129], [8.524679, 47.353795], [8.524764, 47.353611], [8.524892, 47.352927], [8.524952, 47.352634], [8.524993, 47.35234], [8.525016, 47.352044], [8.525006, 47.351769], [8.524963, 47.351496], [8.524888, 47.351226], [8.524775, 47.350936], [8.524624, 47.350654], [8.524436, 47.350383], [8.524287, 47.350195], [8.524118, 47.350015], [8.523931, 47.349843], [8.523757, 47.3497], [8.523577, 47.349561], [8.523391, 47.349425], [8.522913, 47.349082], [8.522434, 47.34874], [8.521778, 47.348271], [8.521362, 47.347973], [8.520947, 47.347673], [8.520535, 47.347371], [8.520393, 47.347269], [8.520259, 47.347161], [8.520135, 47.347049], [8.519946, 47.346875], [8.519777, 47.346691], [8.51963, 47.34649Line truncated
|
||||
|
||||
|
||||
|
||||
var layer_control_4591a5bd7aa3e901253e857abeccbea2_layers = {
|
||||
base_layers : {
|
||||
"cartodbpositron" : tile_layer_142265af8d0477637c48f9bc1a7d68d1,
|
||||
},
|
||||
overlays : {
|
||||
"Accident Heatmap" : heat_map_9f26dae603b077b11216d5a0957079cb,
|
||||
"Signaled Speed T0" : geo_json_d3b5e793a24586dd4abb3bd4b047998c,
|
||||
"Signaled Speed T10" : geo_json_a974ff9d5196392d1d03b7e35845a51b,
|
||||
"Signaled Speed T20" : geo_json_6bb1623050cb4e0ec89ed5a45da41c4b,
|
||||
"Signaled Speed T30" : geo_json_7d2ed2385b9ebf3ce3a147366e3f4d16,
|
||||
"Signaled Speed T50" : geo_json_39a2442dd5dc719a7869abc934246600,
|
||||
"Signaled Speed T60" : geo_json_1fccbd102077369d9d710e92d1a81f55,
|
||||
"Signaled Speed T80" : geo_json_e3f2261e44fbda4d0bbc5e48d503fc3b,
|
||||
"Signaled Speed T100" : geo_json_7ba49a4fe43ea4ccac758fa8723f80be,
|
||||
},
|
||||
};
|
||||
let layer_control_4591a5bd7aa3e901253e857abeccbea2 = L.control.layers(
|
||||
layer_control_4591a5bd7aa3e901253e857abeccbea2_layers.base_layers,
|
||||
layer_control_4591a5bd7aa3e901253e857abeccbea2_layers.overlays,
|
||||
{"autoZIndex": true, "collapsed": true, "position": "topright"}
|
||||
).addTo(map_c0fb97d6ede857e174bfd07595101d7f);
|
||||
|
||||
|
||||
</script>
|
||||
</html>
|
||||
@@ -0,0 +1,11 @@
|
||||
# config.py, adjust as needed
|
||||
# TODO RENAME THIS FILE TO "config.py"
|
||||
SSH_HOST = 'slenzlinger.dev'
|
||||
SSH_USERNAME = 'sebl' #TODO: Enter own username
|
||||
SSH_PASSWORD = 'your_ssh_password' # TODO: to not push to git
|
||||
DB_NAME = 'your_database_name' # TODO
|
||||
DB_USER = 'your_database_username' # TODO
|
||||
DB_PASSWORD = 'your_database_password' # TODO
|
||||
DB_HOST = 'your_database_host' # TODO
|
||||
DB_PORT = 5433
|
||||
SSH_PORT = 22
|
||||
@@ -0,0 +1,16 @@
|
||||
drop table if exists accident_copy;
|
||||
|
||||
create table accident_copy as
|
||||
select * from accidents;
|
||||
alter table accident_copy add severity varchar;
|
||||
update accident_copy set severity = 'Accident with property damage'
|
||||
where accidentseveritycategory='as4';
|
||||
|
||||
update accident_copy set severity = 'Accident with light injuries'
|
||||
where accidentseveritycategory='as3';
|
||||
|
||||
update accident_copy set severity = 'Accident with severe injuries'
|
||||
where accidentseveritycategory='as2';
|
||||
|
||||
update accident_copy set severity = 'Accidents with fatalities'
|
||||
where accidentseveritycategory='as1';
|
||||
@@ -0,0 +1,77 @@
|
||||
DROP TABLE IF EXISTS fbcount_copy;
|
||||
|
||||
CREATE TABLE fbcount_copy AS
|
||||
SELECT * FROM footbikecount;
|
||||
|
||||
ALTER TABLE fbcount_copy ADD fuss_total INTEGER;
|
||||
UPDATE fbcount_copy SET fuss_total = fuss_in + fuss_out;
|
||||
|
||||
ALTER TABLE fbcount_copy
|
||||
DROP COLUMN IF EXISTS fuss_in,
|
||||
DROP COLUMN IF EXISTS fuss_out,
|
||||
ADD PRIMARY KEY (id);
|
||||
|
||||
ALTER TABLE fbcount_copy ADD velo_total INTEGER;
|
||||
UPDATE fbcount_copy SET velo_total = velo_in + velo_out;
|
||||
|
||||
ALTER TABLE fbcount_copy
|
||||
DROP COLUMN velo_in,
|
||||
DROP COLUMN velo_out;
|
||||
|
||||
select count(*), accidentyear from accidents
|
||||
group by accidentyear
|
||||
order by accidentyear;
|
||||
|
||||
SELECT COUNT(*), accidentweekday_en
|
||||
FROM accidents
|
||||
GROUP BY accidentweekday_en
|
||||
ORDER BY COUNT(*);
|
||||
|
||||
SELECT accidentyear AS year, accidentweekday_en AS weekday, COUNT(*) AS count
|
||||
FROM accidents
|
||||
GROUP BY weekday, year
|
||||
ORDER BY year, COUNT(*);
|
||||
|
||||
select distinct msid from mivcount;
|
||||
|
||||
SELECT accidentyear AS year, accidentweekday_en AS weekday, COUNT(*) AS count
|
||||
FROM accidents
|
||||
GROUP BY year, weekday
|
||||
ORDER BY year, weekday;
|
||||
|
||||
SELECT accidentyear AS year, accidentmonth AS month, count() as count
|
||||
FROM accidents
|
||||
GROUP BY year, month;
|
||||
|
||||
SELECT accidentyear as year, accidentmonth as month, count(*) as count
|
||||
from accidents
|
||||
where accidentinvolvingpedestrian=True
|
||||
group by month, year
|
||||
order by year, month;
|
||||
|
||||
drop table if exists accident_copy;
|
||||
|
||||
create table accident_copy as
|
||||
select * from accidents;
|
||||
alter table accident_copy add severity varchar;
|
||||
update accident_copy set severity = 'Accident with property damage'
|
||||
where accidentseveritycategory='as4';
|
||||
|
||||
update accident_copy set severity = 'Accident with light injuries'
|
||||
where accidentseveritycategory='as3';
|
||||
|
||||
update accident_copy set severity = 'Accident with severe injuries'
|
||||
where accidentseveritycategory='as2';
|
||||
|
||||
update accident_copy set severity = 'Accidents with fatalities'
|
||||
where accidentseveritycategory='as1';
|
||||
|
||||
|
||||
SELECT accidentyear AS year, accidentmonth AS month, accidentinvolvingpedestrian AS ped,
|
||||
accidentinvolvingbicycle as bike,
|
||||
accidentinvolvingmotorcycle as moto,count(*) as count
|
||||
FROM accidents
|
||||
GROUP BY year, month, ped, bike, moto
|
||||
ORDER BY year, month;
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
DROP TABLE IF EXISTS fbcount_copy;
|
||||
|
||||
CREATE TABLE fbcount_copy AS
|
||||
SELECT * FROM footbikecount;
|
||||
|
||||
ALTER TABLE fbcount_copy ADD fuss_total INTEGER;
|
||||
UPDATE fbcount_copy SET fuss_total = fuss_in + fuss_out;
|
||||
|
||||
ALTER TABLE fbcount_copy
|
||||
DROP COLUMN IF EXISTS fuss_in,
|
||||
DROP COLUMN IF EXISTS fuss_out,
|
||||
ADD PRIMARY KEY (id);
|
||||
|
||||
ALTER TABLE fbcount_copy ADD velo_total INTEGER;
|
||||
UPDATE fbcount_copy SET velo_total = velo_in + velo_out;
|
||||
|
||||
ALTER TABLE fbcount_copy
|
||||
DROP COLUMN IF EXISTS velo_in,
|
||||
DROP COLUMN IF EXISTS velo_out;
|
||||
Whitespace-only changes.
@@ -0,0 +1,30 @@
|
||||
select count(*), accidentyear from accidents
|
||||
group by accidentyear
|
||||
order by accidentyear;
|
||||
|
||||
SELECT COUNT(*), accidentweekday_en
|
||||
FROM accidents
|
||||
GROUP BY accidentweekday_en
|
||||
ORDER BY COUNT(*);
|
||||
|
||||
SELECT accidentyear AS year, accidentweekday_en AS weekday, COUNT(*) AS count
|
||||
FROM accidents
|
||||
GROUP BY weekday, year
|
||||
ORDER BY year, COUNT(*);
|
||||
|
||||
drop table if exists accident_copy;
|
||||
|
||||
create table accident_copy as
|
||||
select * from accidents;
|
||||
alter table accident_copy add severity varchar;
|
||||
update accident_copy set severity = 'Accident with property damage'
|
||||
where accidentseveritycategory='as4';
|
||||
|
||||
update accident_copy set severity = 'Accident with light injuries'
|
||||
where accidentseveritycategory='as3';
|
||||
|
||||
update accident_copy set severity = 'Accident with severe injuries'
|
||||
where accidentseveritycategory='as2';
|
||||
|
||||
update accident_copy set severity = 'Accidents with fatalities'
|
||||
where accidentseveritycategory='as1';
|
||||
@@ -0,0 +1,81 @@
|
||||
import logging
|
||||
|
||||
import paramiko.util
|
||||
import sqlalchemy
|
||||
from sshtunnel import SSHTunnelForwarder
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import sessionmaker
|
||||
from config import SSH_HOST, SSH_USERNAME, SSH_PASSWORD, DB_NAME, DB_USER, DB_PASSWORD, DB_HOST, DB_PORT, SSH_PORT
|
||||
|
||||
logging.getLogger("paramiko").setLevel(logging.WARNING)
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
logger = logging.getLogger('db_connector.py')
|
||||
stream_handler = logging.StreamHandler()
|
||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
stream_handler.setFormatter(formatter)
|
||||
logger.addHandler(stream_handler)
|
||||
|
||||
|
||||
class RemoteDB:
|
||||
def __init__(self):
|
||||
self.ssh_host = SSH_HOST
|
||||
self.ssh_username = SSH_USERNAME
|
||||
self.ssh_password = SSH_PASSWORD
|
||||
self.db_name = DB_NAME
|
||||
self.db_user = DB_USER
|
||||
self.db_password = DB_PASSWORD
|
||||
self.db_host = DB_HOST
|
||||
self.db_port = DB_PORT
|
||||
self.ssh_port = SSH_PORT
|
||||
self.tunnel = None
|
||||
self.engine = None
|
||||
self.Session = None
|
||||
self._connect()
|
||||
|
||||
def _connect(self):
|
||||
try:
|
||||
self.tunnel = SSHTunnelForwarder(
|
||||
(self.ssh_host, self.ssh_port),
|
||||
ssh_username=self.ssh_username,
|
||||
ssh_password=self.ssh_password,
|
||||
remote_bind_address=(self.db_host, self.db_port)
|
||||
)
|
||||
self.tunnel.start()
|
||||
|
||||
local_port = self.tunnel.local_bind_port
|
||||
db_url = f"postgresql://{self.db_user}:{self.db_password}@localhost:{local_port}/{self.db_name}"
|
||||
self.engine = create_engine(db_url)
|
||||
self.Session = sessionmaker(bind=self.engine)
|
||||
except Exception as e:
|
||||
logger.exception(f"Connection failed: {e}")
|
||||
|
||||
def execute_query(self, query: str):
|
||||
session = self.Session()
|
||||
try:
|
||||
result = session.execute(sqlalchemy.text(query))
|
||||
session.commit()
|
||||
return result.fetchall()
|
||||
except Exception as e:
|
||||
session.rollback()
|
||||
raise
|
||||
finally:
|
||||
session.close()
|
||||
|
||||
def execute_command(self, cmd: str):
|
||||
session = self.Session()
|
||||
try:
|
||||
result = session.execute(sqlalchemy.text(cmd))
|
||||
session.commit()
|
||||
logger.debug(f"Command {cmd} committed.")
|
||||
except Exception as e:
|
||||
session.rollback()
|
||||
raise
|
||||
finally:
|
||||
session.close()
|
||||
|
||||
def close(self):
|
||||
if self.engine:
|
||||
self.engine.dispose()
|
||||
if self.tunnel:
|
||||
self.tunnel.stop()
|
||||
@@ -0,0 +1,133 @@
|
||||
from db_connector import RemoteDB
|
||||
import logging
|
||||
|
||||
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
logger = logging.getLogger("db_utils.py")
|
||||
stream_handler = logging.StreamHandler()
|
||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
stream_handler.setFormatter(formatter)
|
||||
logger.addHandler(stream_handler)
|
||||
|
||||
|
||||
# Generic DB Methods ==================================================================================================
|
||||
def drop_view(view_name):
|
||||
drop_view_sql = f"""
|
||||
DROP VIEW IF EXISTS {view_name};
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
try:
|
||||
result = remote_db.execute_command(drop_view_sql)
|
||||
logger.info(f"{view_name} dropped.")
|
||||
except Exception as e:
|
||||
logger.exception(f"Exception while dropping {view_name}. Msg: {e} ")
|
||||
finally:
|
||||
remote_db.close()
|
||||
logger.debug(f"RemoteDB object closed.")
|
||||
|
||||
|
||||
def get_view(view_name, rows="*"):
|
||||
get_view_sql = f"""
|
||||
SELECT {rows}
|
||||
FROM {view_name};
|
||||
"""
|
||||
remote_db = RemoteDB()
|
||||
try:
|
||||
result = remote_db.execute_query(get_view_sql)
|
||||
logger.info(f"Succesfully retrieved {view_name}")
|
||||
return result
|
||||
except Exception as e:
|
||||
logger.exception(f"Failed getting view for {view_name} with exception {e}.")
|
||||
finally:
|
||||
remote_db.close()
|
||||
|
||||
def query_table(table_name):
|
||||
pass
|
||||
|
||||
|
||||
# Specialized DB methods ==============================================================================================
|
||||
def create_heat_view():
|
||||
create_heat_view_sql = """
|
||||
CREATE VIEW heat AS
|
||||
SELECT
|
||||
ST_Y(geometry) AS latitude,
|
||||
ST_X(geometry) AS longitude,
|
||||
AccidentYear AS year
|
||||
FROM
|
||||
accidents
|
||||
WHERE
|
||||
ST_Y(geometry) IS NOT NULL AND
|
||||
ST_X(geometry) IS NOT NULL AND
|
||||
AccidentYear IS NOT NULL;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
remote_db.execute_command(create_heat_view_sql)
|
||||
remote_db.close()
|
||||
logger.info("Heat View Created")
|
||||
|
||||
|
||||
def create_bike_heat_view():
|
||||
create_heat_view_sql = """
|
||||
CREATE VIEW bikeheat AS
|
||||
SELECT
|
||||
ST_Y(geometry) AS latitude,
|
||||
ST_X(geometry) AS longitude,
|
||||
AccidentYear AS year
|
||||
FROM
|
||||
accidents
|
||||
WHERE
|
||||
ST_Y(geometry) IS NOT NULL AND
|
||||
ST_X(geometry) IS NOT NULL AND
|
||||
AccidentYear IS NOT NULL AND
|
||||
accidentinvolvingbicycle IS TRUE;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
remote_db.execute_command(create_heat_view_sql)
|
||||
remote_db.close()
|
||||
logger.info("BIKE Heat View Created")
|
||||
|
||||
|
||||
def create_pedestrian_heat_view():
|
||||
create_heat_view_sql = """
|
||||
CREATE VIEW pedestrianheat AS
|
||||
SELECT
|
||||
ST_Y(geometry) AS latitude,
|
||||
ST_X(geometry) AS longitude,
|
||||
AccidentYear AS year
|
||||
FROM
|
||||
accidents
|
||||
WHERE
|
||||
ST_Y(geometry) IS NOT NULL AND
|
||||
ST_X(geometry) IS NOT NULL AND
|
||||
AccidentYear IS NOT NULL AND
|
||||
accidentinvolvingpedestrian IS TRUE;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
remote_db.execute_command(create_heat_view_sql)
|
||||
remote_db.close()
|
||||
logger.info("PEDESTRIAN Heat View Created")
|
||||
|
||||
|
||||
def create_motorcycle_heat_view():
|
||||
create_heat_view_sql = """
|
||||
CREATE VIEW motoheat AS
|
||||
SELECT
|
||||
ST_Y(geometry) AS latitude,
|
||||
ST_X(geometry) AS longitude,
|
||||
AccidentYear AS year
|
||||
FROM
|
||||
accidents
|
||||
WHERE
|
||||
ST_Y(geometry) IS NOT NULL AND
|
||||
ST_X(geometry) IS NOT NULL AND
|
||||
AccidentYear IS NOT NULL AND
|
||||
accidentinvolvingpedestrian IS TRUE;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
remote_db.execute_command(create_heat_view_sql)
|
||||
remote_db.close()
|
||||
logger.info("MOTO Heat View Created")
|
||||
+303
@@ -0,0 +1,303 @@
|
||||
import pandas as pd
|
||||
import geopandas as gpd
|
||||
import colorsys
|
||||
import folium
|
||||
from folium import plugins
|
||||
import logging
|
||||
|
||||
from folium.plugins import HeatMap
|
||||
from matplotlib import pyplot as plt
|
||||
|
||||
from db_connector import RemoteDB
|
||||
import shapely
|
||||
from shapely import wkb
|
||||
import json
|
||||
|
||||
## MUST IMPORT otherwise contains the functions used in db interaction
|
||||
from db_utils import *
|
||||
|
||||
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
logger = logging.getLogger('map.py')
|
||||
stream_handler = logging.StreamHandler()
|
||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
stream_handler.setFormatter(formatter)
|
||||
logger.addHandler(stream_handler)
|
||||
|
||||
|
||||
accidents_filepath = "../src/datasets/integrated/Accidents.geojson"
|
||||
signaled_speeds_filepath = "../src/datasets/integrated/signaled_speeds.geojson.geojson"
|
||||
|
||||
# Map centered around zurich
|
||||
zurich_coordinates = [47.368650, 8.539183]
|
||||
fixed_map_zurich_original_coords = folium.Map(
|
||||
location=zurich_coordinates,
|
||||
zoom_start=13,
|
||||
zoom_control=False,
|
||||
dragging=False,
|
||||
scrollWheelZoom=False,
|
||||
doubleClickZoom=False
|
||||
)
|
||||
|
||||
gradient = {
|
||||
0.1: 'blue',
|
||||
0.3: 'cyan',
|
||||
0.5: 'lime',
|
||||
0.7: 'yellow',
|
||||
0.9: 'red'
|
||||
}
|
||||
|
||||
speedLimits = ["T0","T20","T30","T50","T60","T80","T100"]
|
||||
color_dict = {
|
||||
"T0": "red",
|
||||
"T20": "orange",
|
||||
"T30": "green",
|
||||
"T50": "yellow",
|
||||
"T60": "purple",
|
||||
"T80": "pink",
|
||||
"T100": "gray"
|
||||
}
|
||||
|
||||
|
||||
# Create Maps =========================================================================================================
|
||||
def create_heat_map_with_time(folium_map):
|
||||
|
||||
# Process heat map data
|
||||
heat_view_data = get_view("heat")
|
||||
heat_df = gpd.GeoDataFrame(heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
|
||||
assert not heat_df.empty, f" Heat Dataframe is empty: {heat_df.head(5)}"
|
||||
add_heat_map_time(heat_df, folium_map)
|
||||
logger.info(f"Heat map time added to time map.")
|
||||
#interactive_map.save("test.html")
|
||||
|
||||
add_signaled_speeds(folium_map)
|
||||
|
||||
# Add bikes
|
||||
|
||||
add_bike_heat_map_time(folium_map)
|
||||
|
||||
#Pedestrian Part
|
||||
|
||||
add_pedestrian_heat_map_time(folium_map)
|
||||
|
||||
folium.LayerControl(collapsed=True).add_to(folium_map)
|
||||
|
||||
|
||||
def create_heat_map_toggle(folium_map):
|
||||
|
||||
heat_view_data = get_view("heat")
|
||||
heat_gdf = gpd.GeoDataFrame(heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
|
||||
assert not heat_gdf.empty, f" Heat Dataframe is empty: {heat_gdf.head(5)}"
|
||||
|
||||
add_heat_year_toggle(heat_gdf, folium_map)
|
||||
|
||||
add_bike_heat_toggle(folium_map)
|
||||
add_ped_heat_toggle(folium_map)
|
||||
# Add signald speeds data
|
||||
add_signaled_speeds(folium_map)
|
||||
|
||||
folium.LayerControl(collapsed=True).add_to(folium_map)
|
||||
|
||||
|
||||
# Layer Adding Methods ================================================================================================
|
||||
def add_bike_heat_map_time(folium_map):
|
||||
|
||||
# Process heat map data
|
||||
bike_heat_view_data = get_view('bikeheat', 'latitude, longitude, year')
|
||||
bike_heat_df = gpd.GeoDataFrame(bike_heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
|
||||
assert not bike_heat_df.empty, f" Heat Dataframe is empty: {bike_heat_df.head(5)}"
|
||||
heat_data = [[[row['latitude'], row['longitude'], 0.1] for index, row in bike_heat_df[bike_heat_df['year'] == i].iterrows()] for
|
||||
i in range(2011, 2023)]
|
||||
logger.debug(f"First element of heat data: {heat_data[0]}")
|
||||
index = [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022]
|
||||
AccidentType = "Bicycles: "
|
||||
index = [str(element) for element in index]
|
||||
index = [AccidentType + element for element in index]
|
||||
# plot heat map
|
||||
gradient = generate_hue_gradient(0.6, 5)
|
||||
hm = plugins.HeatMapWithTime(heat_data,
|
||||
auto_play=False,
|
||||
max_opacity=1,
|
||||
gradient=gradient,
|
||||
min_opacity=0.5,
|
||||
radius=9,
|
||||
use_local_extrema=False,
|
||||
blur=1,
|
||||
index=index,
|
||||
name="Accident Heatmap Bikes")
|
||||
hm.add_to(folium_map)
|
||||
|
||||
|
||||
def add_pedestrian_heat_map_time(folium_map):
|
||||
|
||||
# Process heat map data
|
||||
pedestrian_heat_view_data = get_view("pedestrianheat")
|
||||
heat_df = gpd.GeoDataFrame(pedestrian_heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
|
||||
assert not heat_df.empty, f" Heat Dataframe is empty: {heat_df.head(5)}"
|
||||
heat_data = [[[row['latitude'], row['longitude'], 0.5] for index, row in heat_df[heat_df['year'] == i].iterrows()] for
|
||||
i in range(2011, 2023)]
|
||||
logger.debug(f"First element of PED heat data: {heat_data[0]}")
|
||||
index = [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022]
|
||||
AccidentType = "Pedestrians: "
|
||||
index = [str(element) for element in index]
|
||||
index = [AccidentType + element for element in index]
|
||||
#gradient =
|
||||
# plot heat map
|
||||
gradient = generate_hue_gradient(0.2, 5)
|
||||
hm = plugins.HeatMapWithTime(heat_data,
|
||||
auto_play=False,
|
||||
max_opacity=1,
|
||||
gradient=gradient,
|
||||
min_opacity=0.5,
|
||||
radius=9,
|
||||
use_local_extrema=False,
|
||||
blur=1,
|
||||
index=index,
|
||||
name="Accident Heatmap Pedestrian")
|
||||
hm.add_to(folium_map)
|
||||
|
||||
|
||||
def add_heat_map_time(heat_df, folium_map):
|
||||
heat_data = [[[row['latitude'], row['longitude'], 0.5] for index, row in heat_df[heat_df['year'] == i].iterrows()] for
|
||||
i in range(2011, 2023)]
|
||||
index = [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022]
|
||||
# create heat map
|
||||
logger.debug(f"First element of heat data: {heat_data[0]}")
|
||||
hm = plugins.HeatMapWithTime(heat_data,
|
||||
auto_play=False,
|
||||
max_opacity=0.8,
|
||||
gradient=gradient,
|
||||
min_opacity=0.3,
|
||||
radius=9,
|
||||
use_local_extrema=False,
|
||||
blur=1,
|
||||
index=index,
|
||||
name="Accident Heatmap ALL")
|
||||
hm.add_to(folium_map)
|
||||
|
||||
|
||||
def add_signaled_speeds(folium_map):
|
||||
# Add signald speeds data
|
||||
rows = """
|
||||
temporegime_technical as tempo,
|
||||
wkb_geometry
|
||||
"""
|
||||
sig_speeds_data = get_view("signaled_speeds", rows)
|
||||
sig_speed_df = pd.DataFrame(sig_speeds_data, columns=['tempo', 'wkb_geometry'])
|
||||
sig_speed_df['geometry'] = sig_speed_df['wkb_geometry'].apply(lambda x: wkb.loads(x, hex=True))
|
||||
logger.debug(f"{sig_speed_df.head()}")
|
||||
sig_speed_gdf = gpd.GeoDataFrame(sig_speed_df, geometry="geometry")
|
||||
for speedlimit in speedLimits:
|
||||
signal_speed = sig_speed_gdf[sig_speed_gdf["tempo"].str.contains(speedlimit, case=False)]
|
||||
geometries = json.loads(json.dumps(shapely.geometry.mapping(signal_speed['geometry'].unary_union)))
|
||||
|
||||
folium.GeoJson(
|
||||
data=geometries,
|
||||
name=f'Signaled Speed {speedlimit}',
|
||||
color=color_dict[speedlimit],
|
||||
show=False,
|
||||
line_cap="butt",
|
||||
).add_to(folium_map)
|
||||
|
||||
|
||||
def add_heat_year_toggle(heat_gdf, folium_map, name="All"):
|
||||
index = [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022]
|
||||
# plot heat map
|
||||
for year in index:
|
||||
year_data = heat_gdf[heat_gdf['year'] == year]
|
||||
|
||||
heatmap_layer = HeatMap(
|
||||
data=year_data[['latitude', 'longitude']],
|
||||
radius=8,
|
||||
gradient=gradient,
|
||||
min_opacity=0.5,
|
||||
max_opacity=0.8,
|
||||
blur=10,
|
||||
show=False,
|
||||
name=f'{name} in {year}'
|
||||
)
|
||||
|
||||
heatmap_layer.add_to(folium_map)
|
||||
|
||||
|
||||
def add_bike_heat_toggle(folium_map):
|
||||
bike_heat_view_data = get_view('bikeheat', 'latitude, longitude, year')
|
||||
heat_gdf = gpd.GeoDataFrame(bike_heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
add_heat_year_toggle(heat_gdf, folium_map, name="motorcycles")
|
||||
|
||||
|
||||
def add_ped_heat_toggle(folium_map):
|
||||
pedestrian_heat_view_data = get_view("pedestrianheat")
|
||||
heat_gdf = gpd.GeoDataFrame(pedestrian_heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
add_heat_year_toggle(heat_gdf, folium_map, name="pedestrians")
|
||||
|
||||
|
||||
# Utilities ===========================================================================================================
|
||||
|
||||
def save_map_as_html(folium_map, name):
|
||||
folium_map.save(f"{name}.html")
|
||||
logger.info(f"Succesfully saved map {name}.")
|
||||
|
||||
|
||||
def setup_views():
|
||||
drop_view("heat")
|
||||
create_heat_view()
|
||||
drop_view("bikeheat")
|
||||
create_bike_heat_view()
|
||||
drop_view("pedestrianheat")
|
||||
create_pedestrian_heat_view()
|
||||
|
||||
|
||||
def generate_hue_gradient(hue, num_colors):
|
||||
if num_colors < 2:
|
||||
num_colors = 2
|
||||
gradient = {}
|
||||
for i in range(num_colors):
|
||||
lightness = 0.1 + 0.8 * (i / (num_colors - 1))
|
||||
saturation = 0.1 + 0.8 * (i / (num_colors - 1))
|
||||
rgb = colorsys.hls_to_rgb(hue, lightness, saturation)
|
||||
gradient[i / (num_colors - 1)] = '#{:02x}{:02x}{:02x}'.format(int(rgb[0]*255), int(rgb[1]*255), int(rgb[2]*255))
|
||||
return gradient
|
||||
|
||||
def generate_contrasting_gradient(num_colors):
|
||||
cmap = plt.get_cmap('viridis') # viridis is a map with contrasting colors
|
||||
gradient = {}
|
||||
for i in range(num_colors):
|
||||
rgba = cmap(i / (num_colors - 1))
|
||||
gradient[i / (num_colors - 1)] = '#{:02x}{:02x}{:02x}'.format(int(rgba[0]*255), int(rgba[1]*255), int(rgba[2]*255))
|
||||
return gradient
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
time_map = folium.Map(
|
||||
location=zurich_coordinates,
|
||||
zoom_start=13,
|
||||
zoom_control=True,
|
||||
dragging=True,
|
||||
scrollWheelZoom=True,
|
||||
doubleClickZoom=False,
|
||||
tiles="cartodb positron"
|
||||
)
|
||||
|
||||
toggle_map = folium.Map(
|
||||
location=zurich_coordinates,
|
||||
zoom_start=13,
|
||||
zoom_control=True,
|
||||
dragging=True,
|
||||
scrollWheelZoom=True,
|
||||
doubleClickZoom=False,
|
||||
tiles="cartodb positron"
|
||||
)
|
||||
|
||||
#setup_views()
|
||||
|
||||
create_heat_map_with_time(time_map)
|
||||
create_heat_map_toggle(toggle_map)
|
||||
|
||||
## Save Maps ============================================================================================
|
||||
save_map_as_html(toggle_map, "heat_map_toggle")
|
||||
save_map_as_html(time_map, "heat_map_time")
|
||||
@@ -0,0 +1,413 @@
|
||||
import pandas as pd
|
||||
import geopandas as gpd
|
||||
import os
|
||||
import folium
|
||||
from folium import plugins
|
||||
import logging
|
||||
from db_connector import RemoteDB
|
||||
import shapely
|
||||
from shapely import wkb
|
||||
import json
|
||||
|
||||
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
logger = logging.getLogger('map.py')
|
||||
stream_handler = logging.StreamHandler()
|
||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
stream_handler.setFormatter(formatter)
|
||||
logger.addHandler(stream_handler)
|
||||
|
||||
|
||||
accidents_filepath = "../src/datasets/integrated/Accidents.geojson"
|
||||
signaled_speeds_filepath = "../src/datasets/integrated/signaled_speeds.geojson.geojson"
|
||||
|
||||
# Map centered around zurich
|
||||
zurich_coordinates = [47.368650, 8.539183]
|
||||
fixed_map_zurich_original_coords = folium.Map(
|
||||
location=zurich_coordinates,
|
||||
zoom_start=13,
|
||||
zoom_control=False,
|
||||
dragging=False,
|
||||
scrollWheelZoom=False,
|
||||
doubleClickZoom=False
|
||||
)
|
||||
|
||||
gradient = {
|
||||
0.1: 'blue',
|
||||
0.3: 'cyan',
|
||||
0.5: 'lime',
|
||||
0.7: 'yellow',
|
||||
0.9: 'red'
|
||||
}
|
||||
|
||||
interactive_map = folium.Map(
|
||||
location=zurich_coordinates,
|
||||
zoom_start=13,
|
||||
zoom_control=True,
|
||||
dragging=True,
|
||||
scrollWheelZoom=True,
|
||||
doubleClickZoom=False,
|
||||
tiles="cartodb positron"
|
||||
)
|
||||
|
||||
speedLimits = ["T0","T20","T30","T50","T60","T80","T100"]
|
||||
color_dict = {
|
||||
"T0": "red",
|
||||
"T20": "orange",
|
||||
"T30": "green",
|
||||
"T50": "yellow",
|
||||
"T60": "purple",
|
||||
"T80": "pink",
|
||||
"T100": "gray"
|
||||
}
|
||||
|
||||
def drop_heat_view():
|
||||
drop_heat_view_sql = """
|
||||
DROP VIEW IF EXISTS heat;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
try:
|
||||
result = remote_db.execute_query(drop_heat_view_sql)
|
||||
logger.info("Heat View dropped.")
|
||||
except Exception as e:
|
||||
logger.exception(f"Exception while dropping heat view. Msg: {e} ")
|
||||
finally:
|
||||
remote_db.close()
|
||||
logger.debug(f"RemoteDB object closed.")
|
||||
|
||||
|
||||
|
||||
def create_heat_view():
|
||||
create_heat_view_sql = """
|
||||
CREATE VIEW heat AS
|
||||
SELECT
|
||||
ST_Y(geometry) AS latitude,
|
||||
ST_X(geometry) AS longitude,
|
||||
AccidentYear AS year
|
||||
FROM
|
||||
accidents
|
||||
WHERE
|
||||
ST_Y(geometry) IS NOT NULL AND
|
||||
ST_X(geometry) IS NOT NULL AND
|
||||
AccidentYear IS NOT NULL;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
remote_db.execute_command(create_heat_view_sql)
|
||||
remote_db.close()
|
||||
logger.info("Heat View Created")\
|
||||
|
||||
def get_heat_view():
|
||||
get_heat_view_sql = """
|
||||
SELECT latitude, longitude, year
|
||||
FROM heat;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
|
||||
# Get heat map data from database
|
||||
try:
|
||||
result = remote_db.execute_query(get_heat_view_sql)
|
||||
logger.info(f"Succesfully retrieved result")
|
||||
return result
|
||||
except Exception as e:
|
||||
logger.exception(f"Failed getting result with exception {e}")
|
||||
finally:
|
||||
remote_db.close()
|
||||
|
||||
def create_heat_map_with_time():
|
||||
|
||||
|
||||
# Process heat map data
|
||||
heat_view_data = get_heat_view()
|
||||
heat_df = gpd.GeoDataFrame(heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
|
||||
assert not heat_df.empty, f" Heat Dataframe is empty: {heat_df.head(5)}"
|
||||
heat_data = [[[row['latitude'], row['longitude']] for index, row in heat_df[heat_df['year'] == i].iterrows()] for
|
||||
i in range(2011, 2023)]
|
||||
|
||||
index = [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022]
|
||||
AccidentType = "All: "
|
||||
index = [str(element) for element in index]
|
||||
index = [AccidentType + element for element in index]
|
||||
# plot heat map
|
||||
hm = plugins.HeatMapWithTime(heat_data,
|
||||
auto_play=False,
|
||||
max_opacity=0.8,
|
||||
index=index,
|
||||
name="Accident Heatmap")
|
||||
hm.add_to(interactive_map)
|
||||
interactive_map.save("test.html")
|
||||
|
||||
# Add signald speeds data
|
||||
sig_speeds_data = get_signaled_speed_sql()
|
||||
sig_speed_df = pd.DataFrame(sig_speeds_data, columns=['tempo','wkb_geometry'])
|
||||
sig_speed_df['geometry'] = sig_speed_df['wkb_geometry'].apply(lambda x: wkb.loads(x, hex=True))
|
||||
logger.debug(f"{sig_speed_df.head()}")
|
||||
sig_speed_gdf = gpd.GeoDataFrame(sig_speed_df, geometry="geometry")
|
||||
|
||||
for speedlimit in speedLimits:
|
||||
signal_speed = sig_speed_gdf[sig_speed_gdf["tempo"].str.contains(speedlimit, case=False)]
|
||||
geometries = json.loads(json.dumps(shapely.geometry.mapping(signal_speed['geometry'].unary_union)))
|
||||
|
||||
folium.GeoJson(
|
||||
data=geometries,
|
||||
name=f'Signaled Speed {speedlimit}',
|
||||
color=color_dict[speedlimit],
|
||||
show=False,
|
||||
line_cap="butt",
|
||||
).add_to(interactive_map)
|
||||
|
||||
folium.LayerControl(collapsed=True).add_to(interactive_map)
|
||||
interactive_map.save("heat_map_time.html")
|
||||
|
||||
def create_heat_map_toggle():
|
||||
|
||||
|
||||
# Process heat map data
|
||||
heat_view_data = get_heat_view()
|
||||
heat_df = gpd.GeoDataFrame(heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
|
||||
assert not heat_df.empty, f" Heat Dataframe is empty: {heat_df.head(5)}"
|
||||
heat_data = [[[row['latitude'], row['longitude']] for index, row in heat_df[heat_df['year'] == i].iterrows()] for
|
||||
i in range(2011, 2023)]
|
||||
|
||||
index = [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022]
|
||||
# plot heat map
|
||||
hm = plugins.HeatMapWithTime(heat_data,
|
||||
auto_play=False,
|
||||
max_opacity=0.8,
|
||||
index=index,
|
||||
blur=0.8,
|
||||
name="Accident Heatmap")
|
||||
hm.add_to(interactive_map)
|
||||
interactive_map.save("test.html")
|
||||
|
||||
# Add signald speeds data
|
||||
sig_speeds_data = get_signaled_speed_sql()
|
||||
sig_speed_df = pd.DataFrame(sig_speeds_data, columns=['tempo','wkb_geometry'])
|
||||
sig_speed_df['geometry'] = sig_speed_df['wkb_geometry'].apply(lambda x: wkb.loads(x, hex=True))
|
||||
logger.debug(f"{sig_speed_df.head()}")
|
||||
sig_speed_gdf = gpd.GeoDataFrame(sig_speed_df, geometry="geometry")
|
||||
|
||||
for speedlimit in speedLimits:
|
||||
signal_speed = sig_speed_gdf[sig_speed_gdf["tempo"].str.contains(speedlimit, case=False)]
|
||||
geometries = json.loads(json.dumps(shapely.geometry.mapping(signal_speed['geometry'].unary_union)))
|
||||
|
||||
folium.GeoJson(
|
||||
data=geometries,
|
||||
name=f'Signaled Speed {speedlimit}',
|
||||
color=color_dict[speedlimit],
|
||||
show=False,
|
||||
line_cap="butt",
|
||||
).add_to(interactive_map)
|
||||
|
||||
folium.LayerControl(collapsed=True).add_to(interactive_map)
|
||||
|
||||
|
||||
|
||||
|
||||
def get_signaled_speed_sql():
|
||||
sigspeed_sql = """
|
||||
SELECT
|
||||
temporegime_technical as tempo,
|
||||
wkb_geometry
|
||||
FROM signaled_speeds;
|
||||
"""
|
||||
remote_db = RemoteDB()
|
||||
try:
|
||||
result = remote_db.execute_query(sigspeed_sql)
|
||||
logger.info(f"Succesfully retrieved result")
|
||||
return result
|
||||
except Exception as e:
|
||||
logger.exception(f"Failed getting result with exception {e}")
|
||||
finally:
|
||||
remote_db.close()
|
||||
|
||||
|
||||
def save_map_as_html(map, name):
|
||||
map.save(f"{name}.html")
|
||||
logger.info(f"Succesfully saved map {name}.")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#Bike-accident-Filter====================================================
|
||||
def drop_bike_heat_view():
|
||||
drop_heat_view_sql = """
|
||||
DROP VIEW IF EXISTS bikeheat;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
try:
|
||||
result = remote_db.execute_query(drop_heat_view_sql)
|
||||
logger.info("Heat View dropped.")
|
||||
except Exception as e:
|
||||
logger.exception(f"Exception while dropping heat view. Msg: {e} ")
|
||||
finally:
|
||||
remote_db.close()
|
||||
logger.debug(f"RemoteDB object closed.")
|
||||
|
||||
|
||||
|
||||
def create_bike_heat_view():
|
||||
create_heat_view_sql = """
|
||||
CREATE VIEW bikeheat AS
|
||||
SELECT
|
||||
ST_Y(geometry) AS latitude,
|
||||
ST_X(geometry) AS longitude,
|
||||
AccidentYear AS year
|
||||
FROM
|
||||
accidents
|
||||
WHERE
|
||||
ST_Y(geometry) IS NOT NULL AND
|
||||
ST_X(geometry) IS NOT NULL AND
|
||||
AccidentYear IS NOT NULL AND
|
||||
accidentinvolvingbicycle IS TRUE;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
remote_db.execute_command(create_heat_view_sql)
|
||||
remote_db.close()
|
||||
logger.info("Heat View Created")\
|
||||
|
||||
def get_bike_heat_view():
|
||||
get_heat_view_sql = """
|
||||
SELECT latitude, longitude, year
|
||||
FROM bikeheat;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
|
||||
# Get heat map data from database
|
||||
try:
|
||||
result = remote_db.execute_query(get_heat_view_sql)
|
||||
logger.info(f"Succesfully retrieved result")
|
||||
return result
|
||||
except Exception as e:
|
||||
logger.exception(f"Failed getting result with exception {e}")
|
||||
finally:
|
||||
remote_db.close()
|
||||
|
||||
def create_bike_heat_map_toggle():
|
||||
|
||||
|
||||
# Process heat map data
|
||||
heat_view_data = get_bike_heat_view()
|
||||
heat_df = gpd.GeoDataFrame(heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
|
||||
assert not heat_df.empty, f" Heat Dataframe is empty: {heat_df.head(5)}"
|
||||
heat_data = [[[row['latitude'], row['longitude']] for index, row in heat_df[heat_df['year'] == i].iterrows()] for
|
||||
i in range(2011, 2023)]
|
||||
|
||||
index = [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022]
|
||||
AccidentType = "Bicycles: "
|
||||
index = [str(element) for element in index]
|
||||
index = [AccidentType + element for element in index]
|
||||
# plot heat map
|
||||
hm = plugins.HeatMapWithTime(heat_data,
|
||||
auto_play=False,
|
||||
max_opacity=0.8,
|
||||
index=index,
|
||||
blur=0.8,
|
||||
name="Accident Heatmap including bikes")
|
||||
hm.add_to(interactive_map)
|
||||
interactive_map.save("test2.html")
|
||||
|
||||
|
||||
#Pedestrian Part======================================================================
|
||||
def drop_pedestrian_heat_view():
|
||||
drop_heat_view_sql = """
|
||||
DROP VIEW IF EXISTS pedestrianheat;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
try:
|
||||
result = remote_db.execute_query(drop_heat_view_sql)
|
||||
logger.info("Heat View dropped.")
|
||||
except Exception as e:
|
||||
logger.exception(f"Exception while dropping heat view. Msg: {e} ")
|
||||
finally:
|
||||
remote_db.close()
|
||||
logger.debug(f"RemoteDB object closed.")
|
||||
|
||||
|
||||
|
||||
def create_pedestrian_heat_view():
|
||||
create_heat_view_sql = """
|
||||
CREATE VIEW pedestrianheat AS
|
||||
SELECT
|
||||
ST_Y(geometry) AS latitude,
|
||||
ST_X(geometry) AS longitude,
|
||||
AccidentYear AS year
|
||||
FROM
|
||||
accidents
|
||||
WHERE
|
||||
ST_Y(geometry) IS NOT NULL AND
|
||||
ST_X(geometry) IS NOT NULL AND
|
||||
AccidentYear IS NOT NULL AND
|
||||
accidentinvolvingpedestrian IS TRUE;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
remote_db.execute_command(create_heat_view_sql)
|
||||
remote_db.close()
|
||||
logger.info("Heat View Created")\
|
||||
|
||||
def get_pedestrian_heat_view():
|
||||
get_heat_view_sql = """
|
||||
SELECT latitude, longitude, year
|
||||
FROM pedestrianheat;
|
||||
"""
|
||||
|
||||
remote_db = RemoteDB()
|
||||
|
||||
# Get heat map data from database
|
||||
try:
|
||||
result = remote_db.execute_query(get_heat_view_sql)
|
||||
logger.info(f"Succesfully retrieved result")
|
||||
return result
|
||||
except Exception as e:
|
||||
logger.exception(f"Failed getting result with exception {e}")
|
||||
finally:
|
||||
remote_db.close()
|
||||
|
||||
def create_pedestrian_heat_map_toggle():
|
||||
|
||||
|
||||
# Process heat map data
|
||||
heat_view_data = get_pedestrian_heat_view()
|
||||
heat_df = gpd.GeoDataFrame(heat_view_data, columns=['latitude', 'longitude', 'year'])
|
||||
|
||||
assert not heat_df.empty, f" Heat Dataframe is empty: {heat_df.head(5)}"
|
||||
heat_data = [[[row['latitude'], row['longitude']] for index, row in heat_df[heat_df['year'] == i].iterrows()] for
|
||||
i in range(2011, 2023)]
|
||||
index = [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022]
|
||||
AccidentType = "Pedestrians: "
|
||||
index = [str(element) for element in index]
|
||||
index = [AccidentType + element for element in index]
|
||||
# plot heat map
|
||||
hm = plugins.HeatMapWithTime(heat_data,
|
||||
auto_play=False,
|
||||
max_opacity=0.8,
|
||||
index=index,
|
||||
blur=0.8,
|
||||
name="Accident Heatmap including pedestrians")
|
||||
hm.add_to(interactive_map)
|
||||
interactive_map.save("test3.html")
|
||||
|
||||
if __name__ == "__main__":
|
||||
#Pedestrian_Part
|
||||
drop_pedestrian_heat_view()
|
||||
create_pedestrian_heat_view()
|
||||
create_pedestrian_heat_map_toggle()
|
||||
#Bike_Part
|
||||
drop_bike_heat_view()
|
||||
create_bike_heat_view()
|
||||
create_bike_heat_map_toggle()
|
||||
#Working_Part
|
||||
drop_heat_view()
|
||||
create_heat_view()
|
||||
create_heat_map_with_time()
|
||||
save_map_as_html(interactive_map, "heat_map_with_time")
|
||||
@@ -0,0 +1,289 @@
|
||||
import logging
|
||||
|
||||
from db_connector import RemoteDB
|
||||
import matplotlib.pyplot as plt
|
||||
import pandas as pd
|
||||
import plotly.express as px
|
||||
import kaleido
|
||||
import numpy as np
|
||||
|
||||
logging.getLogger("matplotlib").setLevel(logging.WARNING)
|
||||
|
||||
|
||||
|
||||
|
||||
# Summary charts ======================================================================================================
|
||||
def plt_acc_by_year(db):
|
||||
acc_year_sql = """
|
||||
SELECT COUNT(*), accidentyear AS year FROM accidents
|
||||
GROUP BY year
|
||||
ORDER BY year;
|
||||
"""
|
||||
result = db.execute_query(acc_year_sql)
|
||||
result_df = pd.DataFrame(result)
|
||||
|
||||
fig = px.bar(result_df, y='year', x='count', orientation='h', title='No. of Accidents per Year')
|
||||
fig.write_image("fig/acc_by_year.png")
|
||||
fig.write_html("html/acc_by_year.html")
|
||||
|
||||
|
||||
def plt_acc_by_weekday(db):
|
||||
acc_weekday_sql = f"""
|
||||
SELECT COUNT(*) AS count, accidentweekday_en AS weekday
|
||||
FROM accidents
|
||||
GROUP BY weekday
|
||||
ORDER BY COUNT(*);
|
||||
"""
|
||||
|
||||
result = db.execute_query(acc_weekday_sql)
|
||||
result_df = pd.DataFrame(result)
|
||||
|
||||
fig = px.bar(result_df, y='weekday', x='count', orientation='h', title='No. of Accidents per Weekday')
|
||||
fig.write_image("fig/acc_by_weekday.png")
|
||||
fig.write_html("html/acc_by_weekday.html")
|
||||
|
||||
|
||||
# def plt_acc_by_day_year_old(db):
|
||||
# acc_year_day_sql = """
|
||||
# SELECT accidentyear AS year, accidentweekday_en AS weekday, COUNT(*) AS count
|
||||
# FROM accidents
|
||||
# GROUP BY weekday, year
|
||||
# ORDER BY weekday, year, COUNT(*);
|
||||
# """
|
||||
#
|
||||
# result = db.execute_query(acc_year_day_sql)
|
||||
# resut_df = pd.DataFrame(result)
|
||||
|
||||
|
||||
def plt_acc_by_day_year(db):
|
||||
acc_year_day_sql = """
|
||||
SELECT accidentyear AS year, accidentweekday_en AS weekday, COUNT(*) AS count
|
||||
FROM accidents
|
||||
GROUP BY weekday, year
|
||||
ORDER BY weekday, year, COUNT(*);
|
||||
"""
|
||||
result = db.execute_query(acc_year_day_sql)
|
||||
df = pd.DataFrame(result)
|
||||
print(df.head())
|
||||
fig = px.bar(
|
||||
df,
|
||||
x='weekday',
|
||||
y='count',
|
||||
title='Accidents by Weekday',
|
||||
animation_frame='year',
|
||||
labels={'weekday': 'Weekday', 'count': 'Number of Accidents'},
|
||||
category_orders={'weekday': ['Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday']},
|
||||
)
|
||||
fig.update_yaxes(range=[0, 1000])
|
||||
# Customize the layout to include a slider
|
||||
fig.update_layout(
|
||||
updatemenus=[
|
||||
{
|
||||
'buttons': [
|
||||
{
|
||||
'args': [None, {'frame': {'duration': 1000, 'redraw': True}, 'fromcurrent': True}],
|
||||
'label': 'Play',
|
||||
'method': 'animate',
|
||||
},
|
||||
{
|
||||
'args': [[None], {'frame': {'duration': 0, 'redraw': True}, 'mode': 'immediate',
|
||||
'transition': {'duration': 0}}],
|
||||
'label': 'Pause',
|
||||
'method': 'animate',
|
||||
},
|
||||
],
|
||||
'direction': 'left',
|
||||
'pad': {'r': 10, 't': 87},
|
||||
'showactive': False,
|
||||
'type': 'buttons',
|
||||
'x': 0.1,
|
||||
'xanchor': 'right',
|
||||
'y': 0,
|
||||
'yanchor': 'top',
|
||||
}
|
||||
],
|
||||
sliders=[{
|
||||
'active': 0,
|
||||
'yanchor': 'top',
|
||||
'xanchor': 'left',
|
||||
'currentvalue': {
|
||||
'font': {'size': 20},
|
||||
'prefix': 'Year:',
|
||||
'visible': True,
|
||||
'xanchor': 'right',
|
||||
},
|
||||
'transition': {'duration': 300, 'easing': 'cubic-in-out'},
|
||||
'pad': {'b': 10, 't': 50},
|
||||
'len': 0.9,
|
||||
'x': 0.1,
|
||||
'y': 0,
|
||||
'steps': [{'label': str(year), 'method': 'animate',
|
||||
'args': [[year], {'frame': {'duration': 0, 'redraw': True}, 'mode': 'immediate'}]} for year in
|
||||
sorted(df['year'].unique())],
|
||||
}],
|
||||
)
|
||||
fig.write_image("fig/plt_acc_by_day_year.png")
|
||||
fig.write_html("html/plt_acc_by_day_year.html")
|
||||
|
||||
|
||||
def plt_acc_by_daytime(db):
|
||||
acc_weekday_sql = f"""
|
||||
SELECT COUNT(*) AS count, accidenthour AS hour
|
||||
FROM accidents
|
||||
GROUP BY accidenthour
|
||||
ORDER BY COUNT(*);
|
||||
"""
|
||||
|
||||
result = db.execute_query(acc_weekday_sql)
|
||||
result_df = pd.DataFrame(result)
|
||||
|
||||
fig = px.bar(result_df, y='hour', x='count', orientation='h')
|
||||
fig.write_image("fig/acc_by_day.png")
|
||||
fig.write_html("html/acc_by_day.html")
|
||||
|
||||
# Time Series charts ==================================================================================================
|
||||
def acc_by_type(db):
|
||||
acc_by_type_sql = """
|
||||
SELECT accidentyear AS year, accidenttype_en as type, count(*) as count
|
||||
FROM accidents
|
||||
GROUP BY year, type;
|
||||
"""
|
||||
|
||||
result = db.execute_query(acc_by_type_sql)
|
||||
result_df = pd.DataFrame(result)
|
||||
|
||||
fig = px.bar(result_df, x='count', y='year', color='type', barmode='stack', orientation='h',title='Accidents by type')
|
||||
|
||||
fig.update_layout(xaxis_title="No. of Accidents", yaxis_title="Year", legend_title="Accident Type")
|
||||
fig.write_image("fig/acc_by_type.png")
|
||||
fig.write_html("html/acc_by_type.html")
|
||||
#fig.show()
|
||||
|
||||
|
||||
def severity_by_year(db):
|
||||
severity_by_year_sql = """
|
||||
SELECT accidentyear as year, accidentseveritycategory as code, severity, count(*) as count
|
||||
FROM accident_copy
|
||||
GROUP BY year, code, severity;
|
||||
"""
|
||||
|
||||
result = db.execute_query(severity_by_year_sql)
|
||||
result_df = pd.DataFrame(result)
|
||||
|
||||
fig = px.bar(result_df, x='year', y='count', color='severity', barmode='group', orientation='v', title="Severity over the years")
|
||||
fig.update_layout(xaxis_title="Year", yaxis_title="No. of Accidents", legend_title="Accident Severity")
|
||||
fig.write_image("fig/severity_by_year.png")
|
||||
fig.write_html("html/severity_by_year.html")
|
||||
#fig.show()
|
||||
|
||||
|
||||
def ped_by_month(db):
|
||||
ped_by_month_sql = """
|
||||
SELECT accidentyear AS year, accidentmonth AS month, count(*) as count
|
||||
FROM accidents
|
||||
WHERE accidentinvolvingpedestrian IS TRUE
|
||||
GROUP BY year, month
|
||||
ORDER BY year, month;
|
||||
"""
|
||||
|
||||
result = db.execute_query(ped_by_month_sql)
|
||||
result_df = pd.DataFrame(result)
|
||||
result_df['year-month'] = pd.to_datetime(result_df['year'].astype(str) + "-" + result_df['month'].astype(str))
|
||||
fig = px.line(result_df, x='year-month', y='count', markers=True)
|
||||
fig.update_layout(
|
||||
xaxis_title='Year',
|
||||
yaxis_title='No. of accidents',
|
||||
title='Accidents involving Pedestrians')
|
||||
fig.update_xaxes(tickmode='array', tickvals=result_df['year'], ticktext=result_df['year'])
|
||||
fig.write_image("fig/ped_by_month.png")
|
||||
fig.write_html("html/ped_by_month.html")
|
||||
|
||||
#fig.show()
|
||||
#fig.write_html('ped_by_month.html')
|
||||
|
||||
def bike_by_month(db):
|
||||
bike_by_month_sql = """
|
||||
SELECT accidentyear AS year, accidentmonth AS month, count(*) as count
|
||||
FROM accidents
|
||||
WHERE accidentinvolvingbicycle IS TRUE
|
||||
GROUP BY year, month
|
||||
ORDER BY year, month;
|
||||
"""
|
||||
|
||||
result = db.execute_query(bike_by_month_sql)
|
||||
result_df = pd.DataFrame(result)
|
||||
result_df['year-month'] = pd.to_datetime(result_df['year'].astype(str) + "-" + result_df['month'].astype(str))
|
||||
fig = px.line(result_df, x='year-month', y='count', markers=True)
|
||||
fig.update_layout(
|
||||
xaxis_title='Year',
|
||||
yaxis_title='No. of accidents',
|
||||
title='Accidents involving Bicycles')
|
||||
fig.update_xaxes(tickmode='array', tickvals=result_df['year'], ticktext=result_df['year'])
|
||||
fig.write_image("fig/bike_by_month.png")
|
||||
fig.write_html("html/bike_by_month.html")
|
||||
#fig.show()
|
||||
|
||||
# TO TEDIOUS :/
|
||||
# def acc_by_involved(db):
|
||||
# acc_by_involved_sql = """
|
||||
# SELECT accidentyear AS year, accidentmonth AS month, accidentinvolvingpedestrian AS ped,
|
||||
# accidentinvolvingbicycle as bike,
|
||||
# accidentinvolvingmotorcycle as moto,count(*) as count
|
||||
# FROM accidents
|
||||
# GROUP BY year, month, ped, bike, moto
|
||||
# ORDER BY year, month;
|
||||
# """
|
||||
#
|
||||
# result = db.execute_query(acc_by_involved_sql)
|
||||
# result_df = pd.DataFrame(result)
|
||||
# result_df['year-month'] = pd.to_datetime(result_df['year'].astype(str) + "-" + result_df['month'].astype(str))
|
||||
#
|
||||
# fig = px.line(result_df, x='year-month', y='count', color='')
|
||||
|
||||
|
||||
def severity_by_month(db):
|
||||
severity_by_year_sql = """
|
||||
SELECT accidentyear as year, accidentmonth as month, severity, count(*) as count
|
||||
FROM accident_copy
|
||||
GROUP BY year, month, severity
|
||||
ORDER BY year, month;
|
||||
"""
|
||||
|
||||
result = db.execute_query(severity_by_year_sql)
|
||||
result_df = pd.DataFrame(result)
|
||||
result_df['year-month'] = pd.to_datetime(result_df['year'].astype(str) + "-" + result_df['month'].astype(str))
|
||||
fig = px.line(result_df, x='year-month', y='count', color='severity', orientation='v', title='Accident severity')
|
||||
#fig = px.bar(result_df, x='year', y='count', color='severity', barmode='group', orientation='v', title="Severity over the years")
|
||||
fig.update_layout(xaxis_title="Time", yaxis_title="No. of Accidents", legend_title="Accident Severity")
|
||||
fig.write_image("fig/severity_by_month.png")
|
||||
fig.write_html("html/severity_by_month.html")
|
||||
#fig.show()
|
||||
|
||||
|
||||
|
||||
|
||||
# Utilities ===========================================================================================================
|
||||
def save_as_barplot(df, xname, yname, orientation, file_name):
|
||||
pass
|
||||
|
||||
|
||||
def save_as_html():
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
remote_db = RemoteDB()
|
||||
try:
|
||||
plt_acc_by_year(remote_db)
|
||||
plt_acc_by_weekday(remote_db)
|
||||
plt_acc_by_daytime(remote_db)
|
||||
plt_acc_by_day_year(remote_db)
|
||||
ped_by_month(remote_db)
|
||||
acc_by_type(remote_db)
|
||||
severity_by_year(remote_db)
|
||||
severity_by_month(remote_db)
|
||||
bike_by_month(remote_db)
|
||||
except Exception as e:
|
||||
print(f"Exception {e} in plots.py")
|
||||
finally:
|
||||
remote_db.close()
|
||||
@@ -0,0 +1,661 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2024-01-06 13:30:17,873 - matplotlib - DEBUG - matplotlib data path: /home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data\n",
|
||||
"2024-01-06 13:30:17,878 - matplotlib - DEBUG - CONFIGDIR=/home/slnopriv/.config/matplotlib\n",
|
||||
"2024-01-06 13:30:17,880 - matplotlib - DEBUG - interactive is False\n",
|
||||
"2024-01-06 13:30:17,880 - matplotlib - DEBUG - platform is linux\n",
|
||||
"2024-01-06 13:30:17,910 - matplotlib - DEBUG - CACHEDIR=/home/slnopriv/.cache/matplotlib\n",
|
||||
"2024-01-06 13:30:17,912 - matplotlib.font_manager - DEBUG - Using fontManager instance from /home/slnopriv/.cache/matplotlib/fontlist-v330.json\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from plots import *\n",
|
||||
"from db_connector import RemoteDB"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-06T12:30:18.136398161Z",
|
||||
"start_time": "2024-01-06T12:30:17.689058295Z"
|
||||
}
|
||||
},
|
||||
"id": "efec39925febcc9f"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"remote_db = RemoteDB()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-06T12:30:18.769365600Z",
|
||||
"start_time": "2024-01-06T12:30:18.137377812Z"
|
||||
}
|
||||
},
|
||||
"id": "642e9e87d554f5ba"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2024-01-06 13:30:20,415 - matplotlib.pyplot - DEBUG - Loaded backend module://matplotlib_inline.backend_inline version unknown.\n",
|
||||
"2024-01-06 13:30:20,416 - matplotlib.pyplot - DEBUG - Loaded backend module://matplotlib_inline.backend_inline version unknown.\n",
|
||||
"2024-01-06 13:30:20,418 - matplotlib.font_manager - DEBUG - findfont: Matching sans\\-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0.\n",
|
||||
"2024-01-06 13:30:20,419 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizTwoSymBol.ttf', name='STIXSizeTwoSym', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,419 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans-Bold.ttf', name='DejaVu Sans', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 0.33499999999999996\n",
|
||||
"2024-01-06 13:30:20,420 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono.ttf', name='DejaVu Sans Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,420 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-Bold.ttf', name='DejaVu Sans Mono', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,421 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizFourSymReg.ttf', name='STIXSizeFourSym', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,421 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizFourSymBol.ttf', name='STIXSizeFourSym', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,421 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf', name='STIXGeneral', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,421 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizThreeSymReg.ttf', name='STIXSizeThreeSym', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,422 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansDisplay.ttf', name='DejaVu Sans Display', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,422 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSerifDisplay.ttf', name='DejaVu Serif Display', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,422 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/cmb10.ttf', name='cmb10', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,422 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf', name='STIXGeneral', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,422 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/cmss10.ttf', name='cmss10', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,422 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-BoldOblique.ttf', name='DejaVu Sans Mono', style='oblique', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,422 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf', name='cmsy10', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,423 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSerif-Italic.ttf', name='DejaVu Serif', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,423 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf', name='STIXNonUnicode', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,423 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSerif-BoldItalic.ttf', name='DejaVu Serif', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,423 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-Oblique.ttf', name='DejaVu Sans Mono', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,423 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf', name='STIXNonUnicode', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,423 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf', name='cmtt10', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,423 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSerif-Bold.ttf', name='DejaVu Serif', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,423 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf', name='STIXNonUnicode', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,424 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/cmr10.ttf', name='cmr10', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,424 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizFiveSymReg.ttf', name='STIXSizeFiveSym', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,424 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf', name='STIXGeneral', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,424 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf', name='DejaVu Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 0.05\n",
|
||||
"2024-01-06 13:30:20,425 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/cmex10.ttf', name='cmex10', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,425 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans-Oblique.ttf', name='DejaVu Sans', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 1.05\n",
|
||||
"2024-01-06 13:30:20,425 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizThreeSymBol.ttf', name='STIXSizeThreeSym', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,426 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf', name='STIXNonUnicode', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,426 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf', name='STIXGeneral', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,427 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizOneSymReg.ttf', name='STIXSizeOneSym', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,427 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizTwoSymReg.ttf', name='STIXSizeTwoSym', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,427 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizOneSymBol.ttf', name='STIXSizeOneSym', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,427 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans-BoldOblique.ttf', name='DejaVu Sans', style='oblique', variant='normal', weight=700, stretch='normal', size='scalable')) = 1.335\n",
|
||||
"2024-01-06 13:30:20,427 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSerif.ttf', name='DejaVu Serif', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,428 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf', name='cmmi10', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,428 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Script-Regular.otf', name='STIX MathJax Script', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,428 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromanslant17-regular.otf', name='Latin Modern Roman Slanted', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,428 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-It.otf', name='Source Code Pro', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,428 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Bold Nerd Font Complete Windows Compatible.ttf', name='FiraCode NF', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,428 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraMono-Regular.otf', name='Fira Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,428 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansDevanagari-Regular.ttf', name='Droid Sans Devanagari', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,429 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/glyphography-newscycle-fonts/newscycle-regular.ttf', name='News Cycle', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,429 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Regular Nerd Font Complete Windows Compatible.ttf', name='FiraCode NF', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,429 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/C059-BdIta.otf', name='C059', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,429 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_SansSerif-Italic.otf', name='MathJax_SansSerif', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,430 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman5-regular.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,430 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonolt10-regular.otf', name='Latin Modern Mono Light', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,430 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-UltraItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=950, stretch='condensed', size='scalable')) = 11.772499999999999\n",
|
||||
"2024-01-06 13:30:20,430 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraMono-Bold.otf', name='Fira Mono', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,430 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoproplt10-regular.otf', name='Latin Modern Mono Prop Light', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,431 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansCherokee-VF.ttf', name='Noto Sans Cherokee', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,431 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansEthiopic-Bold.ttf', name='Droid Sans Ethiopic', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,431 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrepagella-regular.otf', name='TeX Gyre Pagella', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,431 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-carlito-fonts/Carlito-Regular.ttf', name='Carlito', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,431 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/URWGothic-Demi.otf', name='URW Gothic', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,432 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Regular.ttf', name='Lato', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,432 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-SemiBoldItalic.otf', name='Montserrat', style='italic', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,432 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Italic.ttf', name='Lato', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,432 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-cjk/NotoSansCJK-Medium.ttc', name='Noto Sans CJK JP', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,432 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_DoubleStruck-BoldItalic.otf', name='STIX MathJax DoubleStruck', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,433 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code SemiBold Nerd Font Complete.ttf', name='FiraCode Nerd Font', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,433 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol-Bold9.otf', name='MnSymbol', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,433 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-SemiBoldItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,433 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-BoldItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,433 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/thai-scalable/Waree.otf', name='Waree', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,434 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol-Bold10.otf', name='MnSymbol', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,434 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-Regular.otf', name='Montserrat', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,434 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Regular Nerd Font Complete Mono Windows Compatible.ttf', name='FiraCode NFM', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,434 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonolt10-boldoblique.otf', name='Latin Modern Mono Light', style='oblique', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,434 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-gujarati/Lohit-Gujarati.ttf', name='Lohit Gujarati', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,435 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Variants-Regular.otf', name='STIX MathJax Variants', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,435 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansHebrew-VF.ttf', name='Noto Sans Hebrew', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,435 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/URWGothic-DemiOblique.otf', name='URW Gothic', style='oblique', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,436 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Size3-Regular.otf', name='MathJax_Size3', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,436 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Heavy.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=900, stretch='condensed', size='scalable')) = 10.725\n",
|
||||
"2024-01-06 13:30:20,436 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Caligraphic-Bold.otf', name='MathJax_Caligraphic', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,437 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-ThinItalic.otf', name='Montserrat', style='italic', variant='normal', weight=100, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,437 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Heavy.otf', name='Fira Sans', style='normal', variant='normal', weight=900, stretch='normal', size='scalable')) = 10.525\n",
|
||||
"2024-01-06 13:30:20,437 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-TwoItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=100, stretch='condensed', size='scalable')) = 11.535\n",
|
||||
"2024-01-06 13:30:20,438 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmono10-regular.otf', name='Latin Modern Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,438 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Size1-Regular.otf', name='MathJax_Size1', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,438 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman10-bolditalic.otf', name='Latin Modern Roman', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,438 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol10.otf', name='MnSymbol', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,438 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Italic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=400, stretch='condensed', size='scalable')) = 11.25\n",
|
||||
"2024-01-06 13:30:20,439 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrebonum-bold.otf', name='TeX Gyre Bonum', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,439 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromanslant8-regular.otf', name='Latin Modern Roman Slanted', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,439 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-ThinItalic.ttf', name='Lato', style='italic', variant='normal', weight=275, stretch='normal', size='scalable')) = 11.16875\n",
|
||||
"2024-01-06 13:30:20,439 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Bold.ttf', name='Lato', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,439 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman10-bold.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,440 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman12-bold.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,440 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/URWGothic-BookOblique.otf', name='URW Gothic', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,440 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Regular Nerd Font Complete Mono.ttf', name='FiraCode Nerd Font Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,440 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Script-Regular.otf', name='MathJax_Script', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,440 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-HeavyItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=900, stretch='condensed', size='scalable')) = 11.725\n",
|
||||
"2024-01-06 13:30:20,441 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Misc-Bold.otf', name='STIX MathJax Misc', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,441 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Retina Nerd Font Complete.ttf', name='FiraCode Nerd Font', style='normal', variant='normal', weight=450, stretch='normal', size='scalable')) = 10.0975\n",
|
||||
"2024-01-06 13:30:20,441 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansEthiopic-Regular.ttf', name='Droid Sans Ethiopic', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,441 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code SemiBold Nerd Font Complete Mono Windows Compatible.ttf', name='FiraCode NFM', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,442 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Heavy.ttf', name='Lato', style='normal', variant='normal', weight=800, stretch='normal', size='scalable')) = 10.43\n",
|
||||
"2024-01-06 13:30:20,442 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/aajohan-comfortaa-fonts/Comfortaa-Regular.otf', name='Comfortaa', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,443 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman7-bold.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,443 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-ExtraBoldItalic.otf', name='Montserrat', style='italic', variant='normal', weight=800, stretch='normal', size='scalable')) = 11.43\n",
|
||||
"2024-01-06 13:30:20,443 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrebonum-bolditalic.otf', name='TeX Gyre Bonum', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,443 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSans-Italic-VF.ttf', name='Noto Sans', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,443 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrepagella-italic.otf', name='TeX Gyre Pagella', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,443 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans9-oblique.otf', name='Latin Modern Sans', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,443 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansArmenian.ttf', name='Droid Sans Armenian', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,444 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-Light.otf', name='Montserrat', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,444 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Hair.otf', name='Fira Sans', style='normal', variant='normal', weight=100, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,444 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreheros-regular.otf', name='TeX Gyre Heros', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,444 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansMono-VF.ttf', name='Noto Sans Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,444 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrebonum-regular.otf', name='TeX Gyre Bonum', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,444 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-MediumIt.otf', name='Source Code Pro', style='italic', variant='normal', weight=500, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,444 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/sil-mingzat-fonts/Mingzat-Regular.ttf', name='Mingzat', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,445 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Regular.otf', name='Fira Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,445 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Bold Nerd Font Complete Mono Windows Compatible.ttf', name='FiraCode NFM', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,445 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Light.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=300, stretch='condensed', size='scalable')) = 10.344999999999999\n",
|
||||
"2024-01-06 13:30:20,445 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-cjk/NotoSansCJK-Thin.ttc', name='Noto Sans CJK JP', style='normal', variant='normal', weight=100, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,446 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSans.ttf', name='Droid Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,446 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc', name='Noto Sans CJK JP', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,446 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-MediumItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=500, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,447 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyretermes-bolditalic.otf', name='TeX Gyre Termes', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,447 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman6-bold.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,447 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Medium.ttf', name='Lato', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,447 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusSansNarrow-Bold.otf', name='Nimbus Sans Narrow', style='normal', variant='normal', weight=700, stretch='condensed', size='scalable')) = 10.535\n",
|
||||
"2024-01-06 13:30:20,447 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman9-bold.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,448 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Alphabets-Italic.otf', name='STIX MathJax Alphabets', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,448 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusSans-BoldItalic.otf', name='Nimbus Sans', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,448 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Operators-Regular.otf', name='STIX MathJax Operators', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,448 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoNaskhArabic-VF.ttf', name='Noto Naskh Arabic', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,448 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Vector-Regular.otf', name='MathJax_Vector', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,449 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Typewriter-Regular.otf', name='MathJax_Typewriter', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,449 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/aajohan-comfortaa-fonts/Comfortaa-Bold.otf', name='Comfortaa', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,449 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Eight.otf', name='Fira Sans', style='normal', variant='normal', weight=100, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,449 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Main-Italic.otf', name='STIX MathJax Main', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,449 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreheroscn-italic.otf', name='TeX Gyre Heros Cn', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,449 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-ExtraBoldItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=800, stretch='normal', size='scalable')) = 11.43\n",
|
||||
"2024-01-06 13:30:20,449 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre-math/texgyredejavu-math.otf', name='TeX Gyre DejaVu Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,449 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-devanagari/Lohit-Devanagari.ttf', name='Lohit Devanagari', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,450 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Variants-BoldItalic.otf', name='STIX MathJax Variants', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,450 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Misc-Regular.otf', name='STIX MathJax Misc', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,450 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Size4-Regular.otf', name='STIX MathJax Size4', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,450 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-ExtraLight.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=250, stretch='condensed', size='scalable')) = 10.3925\n",
|
||||
"2024-01-06 13:30:20,450 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/sil-padauk/Padauk-Bold.ttf', name='Padauk', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,450 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Medium.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=500, stretch='condensed', size='scalable')) = 10.344999999999999\n",
|
||||
"2024-01-06 13:30:20,450 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Italic.otf', name='Fira Sans', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,450 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Semibold.ttf', name='Lato', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,451 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-ExtraboldItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=800, stretch='condensed', size='scalable')) = 11.629999999999999\n",
|
||||
"2024-01-06 13:30:20,451 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-HairlineItalic.ttf', name='Lato', style='italic', variant='normal', weight=250, stretch='normal', size='scalable')) = 11.1925\n",
|
||||
"2024-01-06 13:30:20,451 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-BoldItalic.otf', name='Montserrat', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,451 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Fraktur-Bold.otf', name='MathJax_Fraktur', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,451 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsansquot8-bold.otf', name='Latin Modern Sans Quotation', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,451 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromanslant12-regular.otf', name='Latin Modern Roman Slanted', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,451 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/rit-meera-new-fonts/MeeraNew.otf', name='Meera New', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,451 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans10-oblique.otf', name='Latin Modern Sans', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,452 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_WinIE6-Regular.otf', name='MathJax_WinIE6', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,452 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol9.otf', name='MnSymbol', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,452 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSans-BoldOblique.ttf', name='DejaVu Sans', style='oblique', variant='normal', weight=700, stretch='normal', size='scalable')) = 1.335\n",
|
||||
"2024-01-06 13:30:20,452 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-MediumItalic.otf', name='Montserrat', style='italic', variant='normal', weight=500, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,452 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrechorus-mediumitalic.otf', name='TeX Gyre Chorus', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,453 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/ht-caladea-fonts/Caladea-Bold.otf', name='Caladea', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,454 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromanslant10-regular.otf', name='Latin Modern Roman Slanted', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,454 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Variants-Italic.otf', name='STIX MathJax Variants', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,454 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansArmenian-VF.ttf', name='Noto Sans Armenian', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,454 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman17-regular.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,454 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-cjk/NotoSansCJK-Bold.ttc', name='Noto Sans CJK JP', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,454 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/khmer-os-system-fonts/KhmerOS_sys.ttf', name='Khmer OS System', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,455 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSansCondensed.ttf', name='DejaVu Sans', style='normal', variant='normal', weight=400, stretch='condensed', size='scalable')) = 0.25\n",
|
||||
"2024-01-06 13:30:20,455 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/gnu-free/FreeSans.ttf', name='FreeSans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,455 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/opensymbol/opens___.ttf', name='OpenSymbol', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,455 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-serif/LiberationSerif-Regular.ttf', name='Liberation Serif', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,455 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreadventor-bold.otf', name='TeX Gyre Adventor', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,456 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/abattis-cantarell-fonts/Cantarell-Thin.otf', name='Cantarell', style='normal', variant='normal', weight=100, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,456 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreadventor-regular.otf', name='TeX Gyre Adventor', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,456 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-ExtraLightItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=250, stretch='normal', size='scalable')) = 11.1925\n",
|
||||
"2024-01-06 13:30:20,456 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmono10-italic.otf', name='Latin Modern Mono', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,456 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-BookItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=350, stretch='condensed', size='scalable')) = 11.2975\n",
|
||||
"2024-01-06 13:30:20,456 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoText-MediumItalic.otf', name='STIX Two Text', style='italic', variant='normal', weight=500, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,457 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonocaps10-regular.otf', name='Latin Modern Mono Caps', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,457 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreschola-bolditalic.otf', name='TeX Gyre Schola', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,457 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/URWBookman-Demi.otf', name='URW Bookman', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,457 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/ht-caladea-fonts/Caladea-Italic.otf', name='Caladea', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,457 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-Italic.otf', name='Montserrat', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,457 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/sil-padauk/Padauk-Regular.ttf', name='Padauk', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,457 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol12.otf', name='MnSymbol', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,458 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-cjk/NotoSansCJK-Light.ttc', name='Noto Sans CJK JP', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,458 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Medium Nerd Font Complete Mono.ttf', name='FiraCode Nerd Font Mono', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,459 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Retina Nerd Font Complete Mono Windows Compatible.ttf', name='FiraCode NFM', style='normal', variant='normal', weight=450, stretch='normal', size='scalable')) = 10.0975\n",
|
||||
"2024-01-06 13:30:20,459 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman7-regular.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,459 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/vazirmatn-vf-fonts/Vazirmatn[wght].ttf', name='Vazirmatn', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,459 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreheros-bold.otf', name='TeX Gyre Heros', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,460 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/C059-Bold.otf', name='C059', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,460 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Four.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=100, stretch='condensed', size='scalable')) = 10.535\n",
|
||||
"2024-01-06 13:30:20,460 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Medium.otf', name='Source Code Pro', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,460 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrecursor-regular.otf', name='TeX Gyre Cursor', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,460 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-sans/LiberationSans-Bold.ttf', name='Liberation Sans', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,461 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/URWBookman-Light.otf', name='URW Bookman', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,461 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsansdemicond10-regular.otf', name='Latin Modern Sans Demi Cond', style='normal', variant='normal', weight=600, stretch='condensed', size='scalable')) = 10.44\n",
|
||||
"2024-01-06 13:30:20,461 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Light.otf', name='Fira Sans', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,461 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-SemiBold.otf', name='Fira Sans', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,461 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSansCondensed-Bold.ttf', name='DejaVu Sans', style='normal', variant='normal', weight=700, stretch='condensed', size='scalable')) = 0.5349999999999999\n",
|
||||
"2024-01-06 13:30:20,462 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman8-italic.otf', name='Latin Modern Roman', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,462 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Medium Nerd Font Complete Windows Compatible.ttf', name='FiraCode NF', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,462 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrepagella-bolditalic.otf', name='TeX Gyre Pagella', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,462 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf', name='Liberation Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,462 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Book.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=350, stretch='condensed', size='scalable')) = 10.2975\n",
|
||||
"2024-01-06 13:30:20,463 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreheroscn-bolditalic.otf', name='TeX Gyre Heros Cn', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,463 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-mono/LiberationMono-Italic.ttf', name='Liberation Mono', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,463 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Script-BoldItalic.otf', name='STIX MathJax Script', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,463 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoText-SemiBold.otf', name='STIX Two Text', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,464 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_AMS-Regular.otf', name='MathJax_AMS', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,464 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre-math/texgyreschola-math.otf', name='TeX Gyre Schola Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,464 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-SemiBold.otf', name='Montserrat', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,464 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Normal-Italic.otf', name='STIX MathJax Normal', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,464 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyretermes-italic.otf', name='TeX Gyre Termes', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,465 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-BookItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=350, stretch='normal', size='scalable')) = 11.0975\n",
|
||||
"2024-01-06 13:30:20,465 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoproplt10-boldoblique.otf', name='Latin Modern Mono Prop Light', style='oblique', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,465 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm-math/latinmodern-math.otf', name='Latin Modern Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,465 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoMath-Regular.otf', name='STIX Two Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,465 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreadventor-bolditalic.otf', name='TeX Gyre Adventor', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,465 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoprop10-regular.otf', name='Latin Modern Mono Prop', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,466 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Marks-Bold.otf', name='STIX MathJax Marks', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,466 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/abattis-cantarell-fonts/Cantarell-ExtraBold.otf', name='Cantarell', style='normal', variant='normal', weight=800, stretch='normal', size='scalable')) = 10.43\n",
|
||||
"2024-01-06 13:30:20,466 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-cjk/NotoSansCJK-Black.ttc', name='Noto Sans CJK JP', style='normal', variant='normal', weight=900, stretch='normal', size='scalable')) = 10.525\n",
|
||||
"2024-01-06 13:30:20,466 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/D050000L.otf', name='D050000L', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,466 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol-Bold7.otf', name='MnSymbol', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,466 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-Medium.otf', name='Montserrat', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,467 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-ThinItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=100, stretch='condensed', size='scalable')) = 11.535\n",
|
||||
"2024-01-06 13:30:20,467 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-cjk/NotoSansCJK-DemiLight.ttc', name='Noto Sans CJK JP', style='normal', variant='normal', weight=350, stretch='normal', size='scalable')) = 10.0975\n",
|
||||
"2024-01-06 13:30:20,467 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusMonoPS-Regular.otf', name='Nimbus Mono PS', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,467 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Semibold.otf', name='Source Code Pro', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,468 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Light Nerd Font Complete Mono Windows Compatible.ttf', name='FiraCode NFM', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,468 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Alphabets-BoldItalic.otf', name='STIX MathJax Alphabets', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,468 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Size2-Regular.otf', name='MathJax_Size2', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,468 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Shapes-BoldItalic.otf', name='STIX MathJax Shapes', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,469 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-serif/LiberationSerif-Italic.ttf', name='Liberation Serif', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,469 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrepagella-bold.otf', name='TeX Gyre Pagella', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,469 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoText-Bold.otf', name='STIX Two Text', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,470 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsansquot8-regular.otf', name='Latin Modern Sans Quotation', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,470 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_SansSerif-Bold.otf', name='STIX MathJax SansSerif', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,470 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-sans/LiberationSans-Italic.ttf', name='Liberation Sans', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,470 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoText-BoldItalic.otf', name='STIX Two Text', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,471 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Arrows-Bold.otf', name='STIX MathJax Arrows', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,472 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/Z003-MediumItalic.otf', name='Z003', style='italic', variant='normal', weight=500, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,472 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-BoldItalic.ttf', name='Lato', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,472 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Size5-Regular.otf', name='STIX MathJax Size5', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,473 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Light Nerd Font Complete.ttf', name='FiraCode Nerd Font', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,473 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Caligraphic-Regular.otf', name='MathJax_Caligraphic', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,473 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-sans/LiberationSans-BoldItalic.ttf', name='Liberation Sans', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,473 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsansquot8-oblique.otf', name='Latin Modern Sans Quotation', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,474 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusSansNarrow-BoldOblique.otf', name='Nimbus Sans Narrow', style='oblique', variant='normal', weight=700, stretch='condensed', size='scalable')) = 11.535\n",
|
||||
"2024-01-06 13:30:20,474 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/C059-Italic.otf', name='C059', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,474 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmono12-regular.otf', name='Latin Modern Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,474 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-UltraLightItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=200, stretch='condensed', size='scalable')) = 11.44\n",
|
||||
"2024-01-06 13:30:20,475 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromandemi10-oblique.otf', name='Latin Modern Roman Demi', style='oblique', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,475 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansSinhala-VF.ttf', name='Noto Sans Sinhala', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,475 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Alphabets-Regular.otf', name='STIX MathJax Alphabets', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,475 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-tamil/Lohit-Tamil.ttf', name='Lohit Tamil', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,476 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusSansNarrow-Regular.otf', name='Nimbus Sans Narrow', style='normal', variant='normal', weight=400, stretch='condensed', size='scalable')) = 10.25\n",
|
||||
"2024-01-06 13:30:20,476 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-ExtraLightItalic.otf', name='Montserrat', style='italic', variant='normal', weight=275, stretch='normal', size='scalable')) = 11.16875\n",
|
||||
"2024-01-06 13:30:20,476 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidKufi-Regular.ttf', name='Droid Arabic Kufi', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,476 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Light.otf', name='Source Code Pro', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,477 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/gdouros-symbola/Symbola.ttf', name='Symbola', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,477 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Eight.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=100, stretch='condensed', size='scalable')) = 10.535\n",
|
||||
"2024-01-06 13:30:20,477 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-BlackItalic.ttf', name='Lato', style='italic', variant='normal', weight=900, stretch='normal', size='scalable')) = 11.525\n",
|
||||
"2024-01-06 13:30:20,477 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-SemiboldIt.otf', name='Source Code Pro', style='italic', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,477 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman10-italic.otf', name='Latin Modern Roman', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,478 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-carlito-fonts/Carlito-Italic.ttf', name='Carlito', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,478 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Math-Regular.otf', name='MathJax_Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,478 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-ExtraBold.otf', name='Montserrat', style='normal', variant='normal', weight=800, stretch='normal', size='scalable')) = 10.43\n",
|
||||
"2024-01-06 13:30:20,478 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Arrows-Regular.otf', name='STIX MathJax Arrows', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,479 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-ExtraLight.otf', name='Source Code Pro', style='normal', variant='normal', weight=200, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,479 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-SemiBold.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=600, stretch='condensed', size='scalable')) = 10.44\n",
|
||||
"2024-01-06 13:30:20,479 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol6.otf', name='MnSymbol', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,480 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Main-Bold.otf', name='STIX MathJax Main', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,480 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Book.otf', name='Fira Sans', style='normal', variant='normal', weight=350, stretch='normal', size='scalable')) = 10.0975\n",
|
||||
"2024-01-06 13:30:20,480 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Light Nerd Font Complete Windows Compatible.ttf', name='FiraCode NF', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,480 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/paktype-naskh-basic/PakTypeNaskhBasic.ttf', name='PakType Naskh Basic', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,480 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman5-bold.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,481 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-mono/LiberationMono-Regular.ttf', name='Liberation Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,481 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.otf', name='Nimbus Mono PS', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,481 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-SemiboldItalic.ttf', name='Lato', style='italic', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,481 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Vector-Bold.otf', name='MathJax_Vector-Bold', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,481 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/thai-scalable/Waree-Bold.otf', name='Waree', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,481 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonocaps10-oblique.otf', name='Latin Modern Mono Caps', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,482 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyretermes-bold.otf', name='TeX Gyre Termes', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,482 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-assamese/Lohit-Assamese.ttf', name='Lohit Assamese', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,482 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Bold Nerd Font Complete Mono.ttf', name='FiraCode Nerd Font Mono', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,482 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreschola-italic.otf', name='TeX Gyre Schola', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,483 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/aajohan-comfortaa-fonts/Comfortaa-Bold.ttf', name='Comfortaa', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,483 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans8-oblique.otf', name='Latin Modern Sans', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,483 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/sil-nuosu-fonts/NuosuSIL-Regular.ttf', name='Nuosu SIL', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,483 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSans-VF.ttf', name='Noto Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,483 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-UltraItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=950, stretch='normal', size='scalable')) = 11.5725\n",
|
||||
"2024-01-06 13:30:20,483 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmono9-regular.otf', name='Latin Modern Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,484 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-telugu/Lohit-Telugu.ttf', name='Lohit Telugu', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,484 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoText-Regular.otf', name='STIX Two Text', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,484 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol5.otf', name='MnSymbol', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,484 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromandunh10-oblique.otf', name='Latin Modern Roman Dunhill', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,484 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/aajohan-comfortaa-fonts/Comfortaa-Light.ttf', name='Comfortaa', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,484 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto/NotoSansMath-Regular.ttf', name='Noto Sans Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,485 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansLao-VF.ttf', name='Noto Sans Lao', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,485 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Variants-Bold.otf', name='STIX MathJax Variants', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,485 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansFallbackFull.ttf', name='Droid Sans Fallback', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,486 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Hairline.ttf', name='Lato', style='normal', variant='normal', weight=250, stretch='normal', size='scalable')) = 10.1925\n",
|
||||
"2024-01-06 13:30:20,486 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Math-Italic.otf', name='MathJax_Math', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,486 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Main-Bold.otf', name='MathJax_Main', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,486 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Bold Nerd Font Complete.ttf', name='FiraCode Nerd Font', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,486 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code SemiBold Nerd Font Complete Windows Compatible.ttf', name='FiraCode NF', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,486 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_SansSerif-Italic.otf', name='STIX MathJax SansSerif', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,486 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Size4-Regular.otf', name='MathJax_Size4', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,487 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/ht-caladea-fonts/Caladea-Regular.otf', name='Caladea', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,487 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Marks-Regular.otf', name='STIX MathJax Marks', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,487 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Medium Nerd Font Complete.ttf', name='FiraCode Nerd Font', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,487 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/P052-Roman.otf', name='P052', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,487 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-kannada/Lohit-Kannada.ttf', name='Lohit Kannada', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,488 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Fraktur-Regular.otf', name='STIX MathJax Fraktur', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,488 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-MediumItalic.ttf', name='Lato', style='italic', variant='normal', weight=500, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,488 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansTamil-Bold.ttf', name='Droid Sans Tamil', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,488 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-LightItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=300, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,488 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-carlito-fonts/Carlito-BoldItalic.ttf', name='Carlito', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,488 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans10-boldoblique.otf', name='Latin Modern Sans', style='oblique', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,489 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansJapanese.ttf', name='Droid Sans Japanese', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,489 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Monospace-Regular.otf', name='STIX MathJax Monospace', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,489 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Thin.ttf', name='Lato', style='normal', variant='normal', weight=275, stretch='normal', size='scalable')) = 10.16875\n",
|
||||
"2024-01-06 13:30:20,489 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/thai-scalable/Waree-BoldOblique.otf', name='Waree', style='oblique', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,489 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Four.otf', name='Fira Sans', style='normal', variant='normal', weight=100, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,489 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonolt10-bold.otf', name='Latin Modern Mono Light', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,490 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-serif/LiberationSerif-BoldItalic.ttf', name='Liberation Serif', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,490 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Ultra.otf', name='Fira Sans', style='normal', variant='normal', weight=950, stretch='normal', size='scalable')) = 10.5725\n",
|
||||
"2024-01-06 13:30:20,490 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreheros-bolditalic.otf', name='TeX Gyre Heros', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,490 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusSans-Bold.otf', name='Nimbus Sans', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,490 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman9-regular.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,490 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-UltraLightItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=200, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,491 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSans-Bold.ttf', name='Droid Sans', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,491 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman6-regular.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,491 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsansquot8-boldoblique.otf', name='Latin Modern Sans Quotation', style='oblique', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,491 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Thin.otf', name='Fira Sans', style='normal', variant='normal', weight=100, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,491 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSerif-Italic-VF.ttf', name='Noto Serif', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,491 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-ThinItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=100, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-EightItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=100, stretch='condensed', size='scalable')) = 11.535\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-Bold.otf', name='Montserrat', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-ExtraLightIt.otf', name='Source Code Pro', style='italic', variant='normal', weight=200, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromancaps10-oblique.otf', name='Latin Modern Roman Caps', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/P052-BoldItalic.otf', name='P052', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreadventor-italic.otf', name='TeX Gyre Adventor', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol-Bold8.otf', name='MnSymbol', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_WinChrome-Regular.otf', name='MathJax_WinChrome', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,492 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Symbols-Bold.otf', name='STIX MathJax Symbols', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,493 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Light Nerd Font Complete Mono.ttf', name='FiraCode Nerd Font Mono', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,493 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Operators-Bold.otf', name='STIX MathJax Operators', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,493 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Marks-BoldItalic.otf', name='STIX MathJax Marks', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,493 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoText-Italic.otf', name='STIX Two Text', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,493 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoprop10-oblique.otf', name='Latin Modern Mono Prop', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,493 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol8.otf', name='MnSymbol', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,493 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Two.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=100, stretch='condensed', size='scalable')) = 10.535\n",
|
||||
"2024-01-06 13:30:20,493 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-FourItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=100, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,494 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-EightItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=100, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,494 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Symbols-Regular.otf', name='STIX MathJax Symbols', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,494 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Math-BoldItalic.otf', name='MathJax_Math', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,494 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoltcond10-oblique.otf', name='Latin Modern Mono Light Cond', style='oblique', variant='normal', weight=400, stretch='condensed', size='scalable')) = 11.25\n",
|
||||
"2024-01-06 13:30:20,494 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansEthiopic-VF.ttf', name='Noto Sans Ethiopic', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,494 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-BlackIt.otf', name='Source Code Pro', style='italic', variant='normal', weight=900, stretch='normal', size='scalable')) = 11.525\n",
|
||||
"2024-01-06 13:30:20,495 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSans-ExtraLight.ttf', name='DejaVu Sans', style='normal', variant='normal', weight=200, stretch='normal', size='scalable')) = 0.24\n",
|
||||
"2024-01-06 13:30:20,495 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-serif/LiberationSerif-Bold.ttf', name='Liberation Serif', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,495 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsansdemicond10-oblique.otf', name='Latin Modern Sans Demi Cond', style='oblique', variant='normal', weight=600, stretch='condensed', size='scalable')) = 11.44\n",
|
||||
"2024-01-06 13:30:20,495 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrecursor-italic.otf', name='TeX Gyre Cursor', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,495 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Thin.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=100, stretch='condensed', size='scalable')) = 10.535\n",
|
||||
"2024-01-06 13:30:20,496 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/abattis-cantarell-fonts/Cantarell-Bold.otf', name='Cantarell', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,496 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Alphabets-Bold.otf', name='STIX MathJax Alphabets', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,496 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-odia/Lohit-Odia.ttf', name='Lohit Odia', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,496 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-LightItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=300, stretch='condensed', size='scalable')) = 11.344999999999999\n",
|
||||
"2024-01-06 13:30:20,496 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol-Bold12.otf', name='MnSymbol', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,496 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSansCondensed-BoldOblique.ttf', name='DejaVu Sans', style='oblique', variant='normal', weight=700, stretch='condensed', size='scalable')) = 1.535\n",
|
||||
"2024-01-06 13:30:20,497 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusSansNarrow-Oblique.otf', name='Nimbus Sans Narrow', style='oblique', variant='normal', weight=400, stretch='condensed', size='scalable')) = 11.25\n",
|
||||
"2024-01-06 13:30:20,497 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusRoman-BoldItalic.otf', name='Nimbus Roman', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,497 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman12-italic.otf', name='Latin Modern Roman', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,497 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/gnu-free/FreeSansBoldOblique.ttf', name='FreeSans', style='oblique', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,497 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Bold.otf', name='Fira Sans', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,497 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Two.otf', name='Fira Sans', style='normal', variant='normal', weight=100, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,498 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Misc-BoldItalic.otf', name='STIX MathJax Misc', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,498 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans10-bold.otf', name='Latin Modern Sans', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,498 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Light.ttf', name='Lato', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,498 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonolt10-oblique.otf', name='Latin Modern Mono Light', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,498 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrecursor-bolditalic.otf', name='TeX Gyre Cursor', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,498 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansGeorgian.ttf', name='Droid Sans Georgian', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,499 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-Black.otf', name='Montserrat', style='normal', variant='normal', weight=900, stretch='normal', size='scalable')) = 10.525\n",
|
||||
"2024-01-06 13:30:20,499 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-BlackItalic.otf', name='Montserrat', style='italic', variant='normal', weight=900, stretch='normal', size='scalable')) = 11.525\n",
|
||||
"2024-01-06 13:30:20,499 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code SemiBold Nerd Font Complete Mono.ttf', name='FiraCode Nerd Font Mono', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,499 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/P052-Italic.otf', name='P052', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,499 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Normal-BoldItalic.otf', name='STIX MathJax Normal', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,499 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-LightItalic.ttf', name='Lato', style='italic', variant='normal', weight=300, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,500 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-ExtraLightItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=250, stretch='condensed', size='scalable')) = 11.3925\n",
|
||||
"2024-01-06 13:30:20,500 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreheroscn-bold.otf', name='TeX Gyre Heros Cn', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,500 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-HairItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=100, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,500 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansThaana-VF.ttf', name='Noto Sans Thaana', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,500 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Latin-Regular.otf', name='STIX MathJax Latin', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,501 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusMonoPS-BoldItalic.otf', name='Nimbus Mono PS', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,501 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusSans-Italic.otf', name='Nimbus Sans', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,501 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Fraktur-Regular.otf', name='MathJax_Fraktur', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,501 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Main-Regular.otf', name='MathJax_Main', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,501 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans17-regular.otf', name='Latin Modern Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,501 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Retina Nerd Font Complete Mono.ttf', name='FiraCode Nerd Font Mono', style='normal', variant='normal', weight=450, stretch='normal', size='scalable')) = 10.0975\n",
|
||||
"2024-01-06 13:30:20,502 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrebonum-italic.otf', name='TeX Gyre Bonum', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,502 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromanslant9-regular.otf', name='Latin Modern Roman Slanted', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,502 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/thai-scalable/Waree-Oblique.otf', name='Waree', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,502 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Retina Nerd Font Complete Windows Compatible.ttf', name='FiraCode NF', style='normal', variant='normal', weight=450, stretch='normal', size='scalable')) = 10.0975\n",
|
||||
"2024-01-06 13:30:20,502 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-HeavyItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=900, stretch='normal', size='scalable')) = 11.525\n",
|
||||
"2024-01-06 13:30:20,502 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoltcond10-regular.otf', name='Latin Modern Mono Light Cond', style='normal', variant='normal', weight=400, stretch='condensed', size='scalable')) = 10.25\n",
|
||||
"2024-01-06 13:30:20,503 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans12-oblique.otf', name='Latin Modern Sans', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,503 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans12-regular.otf', name='Latin Modern Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,503 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Marks-Italic.otf', name='STIX MathJax Marks', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,506 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Bold.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=700, stretch='condensed', size='scalable')) = 10.535\n",
|
||||
"2024-01-06 13:30:20,507 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromanslant10-bold.otf', name='Latin Modern Roman Slanted', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,507 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Size3-Regular.otf', name='STIX MathJax Size3', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,507 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-ExtraLight.otf', name='Fira Sans', style='normal', variant='normal', weight=250, stretch='normal', size='scalable')) = 10.1925\n",
|
||||
"2024-01-06 13:30:20,507 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman9-italic.otf', name='Latin Modern Roman', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,507 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_DoubleStruck-Italic.otf', name='STIX MathJax DoubleStruck', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,507 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-BoldItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=700, stretch='condensed', size='scalable')) = 11.535\n",
|
||||
"2024-01-06 13:30:20,508 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-TwoItalic.otf', name='Fira Sans', style='italic', variant='normal', weight=100, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,508 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Latin-Italic.otf', name='STIX MathJax Latin', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,508 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_Main-Italic.otf', name='MathJax_Main', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,508 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/aajohan-comfortaa-fonts/Comfortaa-Regular.ttf', name='Comfortaa', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,508 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-LightItalic.otf', name='Montserrat', style='italic', variant='normal', weight=300, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,508 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoproplt10-oblique.otf', name='Latin Modern Mono Prop Light', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,509 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/C059-Roman.otf', name='C059', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,509 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusRoman-Italic.otf', name='Nimbus Roman', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,509 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Main-BoldItalic.otf', name='STIX MathJax Main', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,509 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-marathi/Lohit-Marathi.ttf', name='Lohit Marathi', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,509 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansTamil-Regular.ttf', name='Droid Sans Tamil', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,509 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/URWGothic-Book.otf', name='URW Gothic', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,510 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol-Bold5.otf', name='MnSymbol', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,510 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_SansSerif-Regular.otf', name='STIX MathJax SansSerif', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,510 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/URWBookman-DemiItalic.otf', name='URW Bookman', style='italic', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,510 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Misc-Italic.otf', name='STIX MathJax Misc', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,510 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Main-Regular.otf', name='STIX MathJax Main', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,510 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-Black.ttf', name='Lato', style='normal', variant='normal', weight=900, stretch='normal', size='scalable')) = 10.525\n",
|
||||
"2024-01-06 13:30:20,511 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreschola-regular.otf', name='TeX Gyre Schola', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,511 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans8-regular.otf', name='Latin Modern Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,511 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_SansSerif-Bold.otf', name='MathJax_SansSerif', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,511 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Size2-Regular.otf', name='STIX MathJax Size2', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,511 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/glyphography-newscycle-fonts/newscycle-bold.ttf', name='News Cycle', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,512 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_SansSerif-BoldItalic.otf', name='STIX MathJax SansSerif', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,512 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSansCondensed-Oblique.ttf', name='DejaVu Sans', style='oblique', variant='normal', weight=400, stretch='condensed', size='scalable')) = 1.25\n",
|
||||
"2024-01-06 13:30:20,513 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol-Bold6.otf', name='MnSymbol', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,513 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Bold.otf', name='Source Code Pro', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,513 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre-math/texgyrepagella-math.otf', name='TeX Gyre Pagella Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,513 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansThai.ttf', name='Droid Sans Thai', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,513 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansGeorgian-VF.ttf', name='Noto Sans Georgian', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,513 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-UltraLight.otf', name='Fira Sans', style='normal', variant='normal', weight=200, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,514 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Medium Nerd Font Complete Mono Windows Compatible.ttf', name='FiraCode NFM', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,514 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf', name='DejaVu Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 0.05\n",
|
||||
"2024-01-06 13:30:20,514 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman7-italic.otf', name='Latin Modern Roman', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,514 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lohit-bengali/Lohit-Bengali.ttf', name='Lohit Bengali', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,514 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoproplt10-bold.otf', name='Latin Modern Mono Prop Light', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,514 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyrecursor-bold.otf', name='TeX Gyre Cursor', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,515 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-Medium.otf', name='Fira Sans', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,515 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Shapes-Regular.otf', name='STIX MathJax Shapes', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,515 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/gnu-free/FreeSansBold.ttf', name='FreeSans', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,515 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyretermes-regular.otf', name='TeX Gyre Termes', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,516 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mnsymbol/MnSymbol7.otf', name='MnSymbol', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,516 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansHebrew-Regular.ttf', name='Droid Sans Hebrew', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,516 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lato/Lato-HeavyItalic.ttf', name='Lato', style='italic', variant='normal', weight=800, stretch='normal', size='scalable')) = 11.43\n",
|
||||
"2024-01-06 13:30:20,516 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-carlito-fonts/Carlito-Bold.ttf', name='Carlito', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,517 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidKufi-Bold.ttf', name='Droid Arabic Kufi', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,517 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromanunsl10-regular.otf', name='Latin Modern Roman Unslanted', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,517 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/ht-caladea-fonts/Caladea-BoldItalic.otf', name='Caladea', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,517 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Size1-Regular.otf', name='STIX MathJax Size1', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,517 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromancaps10-regular.otf', name='Latin Modern Roman Caps', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,517 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-droid-sans-fonts/DroidSansHebrew-Bold.ttf', name='Droid Sans Hebrew', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,518 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSans-Oblique.ttf', name='DejaVu Sans', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 1.05\n",
|
||||
"2024-01-06 13:30:20,518 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_DoubleStruck-Bold.otf', name='STIX MathJax DoubleStruck', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,518 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoText-SemiBoldItalic.otf', name='STIX Two Text', style='italic', variant='normal', weight=600, stretch='normal', size='scalable')) = 11.24\n",
|
||||
"2024-01-06 13:30:20,518 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-mono/LiberationMono-BoldItalic.ttf', name='Liberation Mono', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,518 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Hair.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=100, stretch='condensed', size='scalable')) = 10.535\n",
|
||||
"2024-01-06 13:30:20,519 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-MediumItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=500, stretch='condensed', size='scalable')) = 11.344999999999999\n",
|
||||
"2024-01-06 13:30:20,519 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Ultra.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=950, stretch='condensed', size='scalable')) = 10.772499999999999\n",
|
||||
"2024-01-06 13:30:20,519 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/MathJax_SansSerif-Regular.otf', name='MathJax_SansSerif', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,519 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre-math/texgyrebonum-math.otf', name='TeX Gyre Bonum Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,519 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman10-regular.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,519 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/gnu-free/FreeSansOblique.ttf', name='FreeSans', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,520 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/URWBookman-LightItalic.otf', name='URW Bookman', style='italic', variant='normal', weight=300, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,520 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/abattis-cantarell-vf-fonts/Cantarell-VF.otf', name='Cantarell', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,520 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans9-regular.otf', name='Latin Modern Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,520 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Fraktur-Bold.otf', name='STIX MathJax Fraktur', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,520 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-Regular.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=400, stretch='condensed', size='scalable')) = 10.25\n",
|
||||
"2024-01-06 13:30:20,520 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmono8-regular.otf', name='Latin Modern Mono', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,521 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Shapes-Bold.otf', name='STIX MathJax Shapes', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,521 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-UltraLight.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=200, stretch='condensed', size='scalable')) = 10.44\n",
|
||||
"2024-01-06 13:30:20,521 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/jomolhari-fonts/Jomolhari-alpha3c-0605331.ttf', name='Jomolhari', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,521 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromandunh10-regular.otf', name='Latin Modern Roman Dunhill', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,522 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/liberation-mono/LiberationMono-Bold.ttf', name='Liberation Mono', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,522 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-Thin.otf', name='Montserrat', style='normal', variant='normal', weight=100, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,522 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-BoldIt.otf', name='Source Code Pro', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,522 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansCanadianAboriginal-VF.ttf', name='Noto Sans Canadian Aboriginal', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,522 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Regular.otf', name='Source Code Pro', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,522 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-HairItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=100, stretch='condensed', size='scalable')) = 11.535\n",
|
||||
"2024-01-06 13:30:20,523 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman8-bold.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,523 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Latin-Bold.otf', name='STIX MathJax Latin', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,523 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-FourItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=100, stretch='condensed', size='scalable')) = 11.535\n",
|
||||
"2024-01-06 13:30:20,523 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Black.otf', name='Source Code Pro', style='normal', variant='normal', weight=900, stretch='normal', size='scalable')) = 10.525\n",
|
||||
"2024-01-06 13:30:20,524 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusMonoPS-Italic.otf', name='Nimbus Mono PS', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,524 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Normal-Bold.otf', name='STIX MathJax Normal', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,524 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans17-oblique.otf', name='Latin Modern Sans', style='oblique', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,524 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/P052-Bold.otf', name='P052', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,524 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/adobe-source-code-pro/SourceCodePro-LightIt.otf', name='Source Code Pro', style='italic', variant='normal', weight=300, stretch='normal', size='scalable')) = 11.145\n",
|
||||
"2024-01-06 13:30:20,524 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreheroscn-regular.otf', name='TeX Gyre Heros Cn', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,525 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-SemiboldItalic.otf', name='Fira Sans Condensed', style='italic', variant='normal', weight=600, stretch='condensed', size='scalable')) = 11.44\n",
|
||||
"2024-01-06 13:30:20,525 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_DoubleStruck-Regular.otf', name='STIX MathJax DoubleStruck', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,525 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/julietaula-montserrat-fonts/Montserrat-ExtraLight.otf', name='Montserrat', style='normal', variant='normal', weight=275, stretch='normal', size='scalable')) = 10.16875\n",
|
||||
"2024-01-06 13:30:20,525 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/aajohan-comfortaa-fonts/Comfortaa-Light.otf', name='Comfortaa', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,525 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSansGurmukhi-VF.ttf', name='Noto Sans Gurmukhi', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,525 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/abattis-cantarell-fonts/Cantarell-Light.otf', name='Cantarell', style='normal', variant='normal', weight=300, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,526 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre-math/texgyretermes-math.otf', name='TeX Gyre Termes Math', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,526 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusRoman-Bold.otf', name='Nimbus Roman', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,526 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSansCondensed-ExtraBold.otf', name='Fira Sans Condensed', style='normal', variant='normal', weight=800, stretch='condensed', size='scalable')) = 10.629999999999999\n",
|
||||
"2024-01-06 13:30:20,526 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraSans-ExtraBold.otf', name='Fira Sans', style='normal', variant='normal', weight=800, stretch='normal', size='scalable')) = 10.43\n",
|
||||
"2024-01-06 13:30:20,526 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/abattis-cantarell-fonts/Cantarell-Regular.otf', name='Cantarell', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,526 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmmonoslant10-regular.otf', name='Latin Modern Mono Slanted', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,526 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/stix-fonts/STIXTwoText-Medium.otf', name='STIX Two Text', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,527 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreschola-bold.otf', name='TeX Gyre Schola', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 10.335\n",
|
||||
"2024-01-06 13:30:20,527 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/dejavu-sans-fonts/DejaVuSans-Bold.ttf', name='DejaVu Sans', style='normal', variant='normal', weight=700, stretch='normal', size='scalable')) = 0.33499999999999996\n",
|
||||
"2024-01-06 13:30:20,528 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmromandemi10-regular.otf', name='Latin Modern Roman Demi', style='normal', variant='normal', weight=600, stretch='normal', size='scalable')) = 10.24\n",
|
||||
"2024-01-06 13:30:20,528 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/google-noto-vf/NotoSerif-VF.ttf', name='Noto Serif', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,528 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Script-Italic.otf', name='STIX MathJax Script', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,528 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mozilla-fira/FiraMono-Medium.otf', name='Fira Mono', style='normal', variant='normal', weight=500, stretch='normal', size='scalable')) = 10.145\n",
|
||||
"2024-01-06 13:30:20,528 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/fira-code/Fira Code Regular Nerd Font Complete.ttf', name='FiraCode Nerd Font', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,528 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman8-regular.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,528 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/mathjax/STIXMathJax_Latin-BoldItalic.otf', name='STIX MathJax Latin', style='italic', variant='normal', weight=700, stretch='normal', size='scalable')) = 11.335\n",
|
||||
"2024-01-06 13:30:20,529 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusSans-Regular.otf', name='Nimbus Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,529 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmsans10-regular.otf', name='Latin Modern Sans', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,529 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/tex-gyre/texgyreheros-italic.otf', name='TeX Gyre Heros', style='italic', variant='normal', weight=400, stretch='normal', size='scalable')) = 11.05\n",
|
||||
"2024-01-06 13:30:20,529 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/lm/lmroman12-regular.otf', name='Latin Modern Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,529 - matplotlib.font_manager - DEBUG - findfont: score(FontEntry(fname='/usr/share/fonts/urw-base35/NimbusRoman-Regular.otf', name='Nimbus Roman', style='normal', variant='normal', weight=400, stretch='normal', size='scalable')) = 10.05\n",
|
||||
"2024-01-06 13:30:20,529 - matplotlib.font_manager - DEBUG - findfont: Matching sans\\-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0 to DejaVu Sans ('/home/slnopriv/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf') with score of 0.050000.\n",
|
||||
"2024-01-06 13:30:20,535 - matplotlib.category - INFO - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.\n",
|
||||
"2024-01-06 13:30:20,536 - matplotlib.category - INFO - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "<Figure size 640x480 with 1 Axes>",
|
||||
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAnEAAAGwCAYAAADG0TO0AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjguMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8g+/7EAAAACXBIWXMAAA9hAAAPYQGoP6dpAABF/ElEQVR4nO3deVgW9f7/8deNyA3I5g4YsrgkipZK7oq4HCzNik5ZqUGKJy2OokctT1laJmgHM1OzPApWmtmirWZpUokrGuVCZBbBScpyAXEBhPn90df71x1oYCAOPh/XNdfFPfOZz7xnpuP9Op9ZbothGIYAAABgKg41XQAAAAAqjxAHAABgQoQ4AAAAEyLEAQAAmBAhDgAAwIQIcQAAACZEiAMAADAhx5ouANWntLRUhw8flru7uywWS02XAwAAKsAwDJ08eVK+vr5ycLjweBshrhY7fPiw/Pz8aroMAABwCXJycnTNNddccDkhrhZzd3eX9Nt/BB4eHjVcDQAAqIj8/Hz5+fnZvscvhBBXi52/hOrh4UGIAwDAZP7sVigebAAAADAhQhwAAIAJEeIAAABMiBAHAABgQoQ4AAAAEyLEAQAAmBAhDgAAwIQIcQAAACZEiAMAADAhQhwAAIAJEeIAAABMiBAHAABgQoQ4AAAAEyLEAQAAmJBjTReA6hfy+AY5WF1rugwAAGqNrITBNV0CI3EAAABmRIgDAAAwIUIcAACACRHiAAAATIgQBwAAYEKEOAAAABMixAEAAJgQIQ4AAMCECHEAAAAmRIgDAAAwIUIcAACACRHiAAAATIgQBwAAYEKEOAAAABMixFUBi8WidevWXXB5VlaWLBaL0tPTL1tNAACgdiPElSM6OloWi6XM9O2335bbPjc3VzfeeONlrhIAAFzNHGu6gCvVoEGDlJSUZDevcePGdp+Liork5OQkb2/vy1kaAAAAI3EXYrVa5e3tbTf1799fsbGxiouLU6NGjRQRESGp7OXUnTt3qmPHjnJ2dlZoaKi++OILu75LSko0evRoBQYGysXFRddee62effZZ2/LPPvtMdevW1U8//WS3XlxcnHr37l19Ow0AAEyDkbhKWrFihcaNG6fU1NRylxcUFGjIkCEaOHCgXnnlFX3//feaMGGCXZvS0lJdc801ev3119WwYUNt3bpV//jHP+Tj46M777xTffr0UVBQkF5++WVNmTJFklRcXKyVK1dq7ty5F6ytsLBQhYWFts/5+flVsMcAAOBKRIi7gPfee09ubm62z+fveWvVqtVFg9SqVatUWlqqZcuWydnZWe3atdP//vc/jRs3ztambt26mjlzpu1zYGCgtm3bpjVr1ujOO++UJI0ePVpJSUm2EPfuu+/q7NmztuXliY+Pt+sXAADUXlxOvYDw8HClp6fbpgULFkiSOnfufNH1MjIy1KFDBzk7O9vmde/evUy7RYsWqXPnzmrcuLHc3Nz04osvKjs727Y8Ojpa3377rbZv3y5JSk5O1p133ql69epdcNvTpk1TXl6ebcrJyanUPgMAAPNgJO4C6tWrp5YtW5Y7/69avXq1Jk+erMTERHXv3l3u7u56+umntWPHDlubJk2a6Oabb1ZSUpICAwO1fv16paSkXLRfq9Uqq9X6l+sDAABXPkJcFQsODtbLL7+ss2fP2kbjzo+mnZeamqoePXrogQcesM07dOhQmb5iYmJ0991365prrlGLFi3Us2fP6i0eAACYBpdTq9g999wji8WiMWPG6MCBA/rggw/0n//8x65Nq1atlJaWpg0bNuibb77R9OnTtWvXrjJ9RUREyMPDQ7NmzdJ99913uXYBAACYACGuirm5uendd9/V3r171bFjRz3yyCOaM2eOXZv7779fkZGRGjZsmLp27aqjR4/ajcqd5+DgoOjoaJWUlOjee++9XLsAAABMwGIYhlHTReDCRo8erV9++UXvvPNOpdfNz8+Xp6en/OLWyMHqWg3VAQBwdcpKGFxtfZ///s7Ly5OHh8cF23FP3BUqLy9Pe/fu1apVqy4pwAEAgNqNEHeFuuWWW7Rz506NHTtWAwcOrOlyAADAFYYQd4X6s9eJAACAqxsPNgAAAJgQIQ4AAMCECHEAAAAmRIgDAAAwIUIcAACACRHiAAAATIgQBwAAYEKEOAAAABMixAEAAJgQv9hwFdg3M+KiP6ALAADMh5E4AAAAEyLEAQAAmBAhDgAAwIQIcQAAACZEiAMAADAhQhwAAIAJEeIAAABMiBAHAABgQoQ4AAAAE+IXG64CIY9vkIPVtabLAACg2mUlDK7pEi4bRuIAAABMiBAHAABgQoQ4AAAAEyLEAQAAmBAhDgAAwIQIcQAAACZEiAMAADAhQhwAAIAJEeIAAABMiBAHAABgQoQ4AAAAEyLEAQAAmBAhDgAAwIQIcQAAACZU60NcSkqKLBaLTpw4UaN1WCwWrVu3rkZrAAAAtUeNhbglS5bI3d1d586ds80rKChQ3bp11bdvX7u254PYoUOHLnOVAAAAV6YaC3Hh4eEqKChQWlqabd7nn38ub29v7dixQ2fPnrXN37x5s5o3b64WLVrURKkAAABXnBoLcddee618fHyUkpJim5eSkqJbbrlFgYGB2r59u9388PBwlZaWKj4+XoGBgXJxcdF1112nN954w67fDz74QK1bt5aLi4vCw8OVlZVltzw5OVleXl7asGGDgoOD5ebmpkGDBik3N9eu3X//+18FBwfL2dlZbdq00eLFi23LioqKFBsbKx8fHzk7O8vf31/x8fG25QcPHlSfPn3k7Oystm3b6uOPPy6z/w899JBat24tV1dXBQUFafr06SouLpYkZWVlycHBwS7gStL8+fPl7++v0tLSih1kAABQa9XoPXHh4eHavHmz7fPmzZvVt29fhYWF2eafOXNGO3bsUHh4uOLj4/XSSy9pyZIl2r9/vyZOnKgRI0bo008/lSTl5OQoMjJSN998s9LT0xUTE6OHH364zHZPnz6t//znP3r55Zf12WefKTs7W5MnT7YtX7lypR577DE99dRTysjI0OzZszV9+nStWLFCkrRgwQK98847WrNmjTIzM7Vy5UoFBARIkkpLSxUZGSknJyft2LFDS5Ys0UMPPVSmBnd3dyUnJ+vAgQN69tlntXTpUj3zzDOSpICAAA0YMEBJSUl26yQlJSk6OloODuWftsLCQuXn59tNAACgdnKsyY2Hh4crLi5O586d05kzZ/TFF18oLCxMxcXFWrJkiSRp27ZtKiwsVN++fdW2bVtt3LhR3bt3lyQFBQVpy5YteuGFFxQWFqbnn39eLVq0UGJioqTfRvv27t2rOXPm2G33fP/nL8/GxsbqiSeesC1//PHHlZiYqMjISElSYGCgDhw4oBdeeEFRUVHKzs5Wq1at1KtXL1ksFvn7+9vW3bhxo77++mtt2LBBvr6+kqTZs2frxhtvtKvh0Ucftf0dEBCgyZMna/Xq1Zo6daokKSYmRmPHjtW8efNktVq1Z88e7d27V2+//fYFj2d8fLxmzpxZiTMAAADMqkZH4vr27atTp05p165d+vzzz9W6dWs1btxYYWFhtvviUlJSFBQUpIKCAp0+fVoDBw6Um5ubbXrppZdsDzxkZGSoa9eudts4H/h+z9XV1e7+Oh8fHx05ckSSdOrUKR06dEijR4+2286sWbNs24mOjlZ6erquvfZajR8/Xh999JGtr4yMDPn5+dkC3IVqeO2119SzZ095e3vLzc1Njz76qLKzs23Lb731VtWpU0dr166V9Ntl4PDwcNuIX3mmTZumvLw825STk3PBtgAAwNxqdCSuZcuWuuaaa7R582YdP35cYWFhkiRfX1/5+flp69at2rx5s/r166eCggJJ0vvvv69mzZrZ9WO1Wiu13bp169p9tlgsMgxDkmzbWbp0aZlAWKdOHUlSp06d9P3332v9+vXauHGj7rzzTg0YMKDM/XkXsm3bNg0fPlwzZ85URESEPD09tXr1atsIoiQ5OTnp3nvvVVJSkiIjI7Vq1So9++yzF+3XarVW+lgAAABzqtEQJ/12STUlJUXHjx/XlClTbPP79Omj9evXa+fOnRo3bpzatm0rq9Wq7OxsW9j7o+DgYL3zzjt2837/gERFNG3aVL6+vvruu+80fPjwC7bz8PDQsGHDNGzYMP3973/XoEGDdOzYMQUHBysnJ0e5ubny8fEpt4atW7fK399fjzzyiG3eDz/8UGYbMTExCgkJ0eLFi3Xu3Dnb5V0AAIArIsQ9+OCDKi4utgtnYWFhio2NVVFRkcLDw+Xu7q7Jkydr4sSJKi0tVa9evZSXl6fU1FR5eHgoKipKY8eOVWJioqZMmaKYmBjt3r1bycnJla5p5syZGj9+vDw9PTVo0CAVFhYqLS1Nx48f16RJkzRv3jz5+PioY8eOcnBw0Ouvvy5vb295eXlpwIABat26taKiovT0008rPz/fLqxJUqtWrZSdna3Vq1frhhtu0Pvvv2+7bPp7wcHB6tatmx566CGNGjVKLi4uld4XAABQO9X4LzaEh4frzJkzatmypZo2bWqbHxYWppMnT9peRSJJTz75pKZPn674+HgFBwdr0KBBev/99xUYGChJat68ud58802tW7dO1113nZYsWaLZs2dXuqaYmBj997//VVJSktq3b6+wsDAlJyfbtuPu7q65c+cqNDRUN9xwg7KysvTBBx/IwcFBDg4OWrt2rc6cOaMuXbooJiZGTz31lF3/Q4cO1cSJExUbG6vrr79eW7du1fTp08utZfTo0SoqKtKoUaMqvR8AAKD2shjnbwbDFenJJ5/U66+/rq+++qrS6+bn58vT01N+cWvkYHWthuoAALiyZCUMrukS/rLz3995eXny8PC4YLsaH4lD+QoKCrRv3z4tXLhQ//znP2u6HAAAcIUhxF2hYmNj1blzZ/Xt25dLqQAAoIwaf7AB5UtOTr6khzIAAMDVgZE4AAAAEyLEAQALine truncated
|
||||
},
|
||||
"metadata": {},
|
||||
"output_type": "display_data"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"plt_acc_by_weekday(remote_db)"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-06T12:30:20.622356516Z",
|
||||
"start_time": "2024-01-06T12:30:18.769576572Z"
|
||||
}
|
||||
},
|
||||
"id": "15ec4beec17d7992"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"remote_db.close()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-06T12:30:20.703380060Z",
|
||||
"start_time": "2024-01-06T12:30:20.600794634Z"
|
||||
}
|
||||
},
|
||||
"id": "144b63f796311f81"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 2
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython2",
|
||||
"version": "2.7.6"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
||||
@@ -0,0 +1,454 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"id": "initial_id",
|
||||
"metadata": {
|
||||
"collapsed": true,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:23:18.014124839Z",
|
||||
"start_time": "2024-01-05T12:23:18.000018319Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from db_connector import RemoteDB\n",
|
||||
"import map "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2024-01-05 13:23:18,086 - paramiko.transport - DEBUG - starting thread (client mode): 0xc3096d10\n",
|
||||
"2024-01-05 13:23:18,087 - paramiko.transport - DEBUG - Local version/idstring: SSH-2.0-paramiko_3.4.0\n",
|
||||
"2024-01-05 13:23:18,122 - paramiko.transport - DEBUG - Remote version/idstring: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.6\n",
|
||||
"2024-01-05 13:23:18,123 - paramiko.transport - INFO - Connected (version 2.0, client OpenSSH_8.9p1)\n",
|
||||
"2024-01-05 13:23:18,152 - paramiko.transport - DEBUG - === Key exchange possibilities ===\n",
|
||||
"2024-01-05 13:23:18,153 - paramiko.transport - DEBUG - kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, sntrup761x25519-sha512@openssh.com, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256, kex-strict-s-v00@openssh.com\n",
|
||||
"2024-01-05 13:23:18,154 - paramiko.transport - DEBUG - server key: rsa-sha2-512, rsa-sha2-256, ecdsa-sha2-nistp256, ssh-ed25519\n",
|
||||
"2024-01-05 13:23:18,154 - paramiko.transport - DEBUG - client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com\n",
|
||||
"2024-01-05 13:23:18,154 - paramiko.transport - DEBUG - server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com\n",
|
||||
"2024-01-05 13:23:18,154 - paramiko.transport - DEBUG - client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1\n",
|
||||
"2024-01-05 13:23:18,155 - paramiko.transport - DEBUG - server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1\n",
|
||||
"2024-01-05 13:23:18,155 - paramiko.transport - DEBUG - client compress: none, zlib@openssh.com\n",
|
||||
"2024-01-05 13:23:18,155 - paramiko.transport - DEBUG - server compress: none, zlib@openssh.com\n",
|
||||
"2024-01-05 13:23:18,155 - paramiko.transport - DEBUG - client lang: <none>\n",
|
||||
"2024-01-05 13:23:18,156 - paramiko.transport - DEBUG - server lang: <none>\n",
|
||||
"2024-01-05 13:23:18,156 - paramiko.transport - DEBUG - kex follows: False\n",
|
||||
"2024-01-05 13:23:18,156 - paramiko.transport - DEBUG - === Key exchange agreements ===\n",
|
||||
"2024-01-05 13:23:18,156 - paramiko.transport - DEBUG - Strict kex mode: True\n",
|
||||
"2024-01-05 13:23:18,156 - paramiko.transport - DEBUG - Kex: curve25519-sha256@libssh.org\n",
|
||||
"2024-01-05 13:23:18,157 - paramiko.transport - DEBUG - HostKey: ssh-ed25519\n",
|
||||
"2024-01-05 13:23:18,157 - paramiko.transport - DEBUG - Cipher: aes128-ctr\n",
|
||||
"2024-01-05 13:23:18,157 - paramiko.transport - DEBUG - MAC: hmac-sha2-256\n",
|
||||
"2024-01-05 13:23:18,157 - paramiko.transport - DEBUG - Compression: none\n",
|
||||
"2024-01-05 13:23:18,157 - paramiko.transport - DEBUG - === End of kex handshake ===\n",
|
||||
"2024-01-05 13:23:18,192 - paramiko.transport - DEBUG - Resetting outbound seqno after NEWKEYS due to strict mode\n",
|
||||
"2024-01-05 13:23:18,192 - paramiko.transport - DEBUG - kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>\n",
|
||||
"2024-01-05 13:23:18,193 - paramiko.transport - DEBUG - Switch to new keys ...\n",
|
||||
"2024-01-05 13:23:18,194 - paramiko.transport - DEBUG - Resetting inbound seqno after NEWKEYS due to strict mode\n",
|
||||
"2024-01-05 13:23:18,194 - paramiko.transport - DEBUG - Attempting public-key auth...\n",
|
||||
"2024-01-05 13:23:18,194 - paramiko.transport - DEBUG - Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com', 'publickey-hostbound@openssh.com': b'0'}\n",
|
||||
"2024-01-05 13:23:18,289 - paramiko.transport - DEBUG - userauth is OK\n",
|
||||
"2024-01-05 13:23:18,342 - paramiko.transport - INFO - Authentication (publickey) successful!\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"remote_db = RemoteDB()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:23:18.357341378Z",
|
||||
"start_time": "2024-01-05T12:23:18.002685280Z"
|
||||
}
|
||||
},
|
||||
"id": "62c8f38132d5cd27"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2024-01-05 13:23:18,348 - paramiko.transport - DEBUG - [chan 0] Max packet in: 32768 bytes\n",
|
||||
"2024-01-05 13:23:18,634 - paramiko.transport - DEBUG - Received global request \"hostkeys-00@openssh.com\"\n",
|
||||
"2024-01-05 13:23:18,635 - paramiko.transport - DEBUG - Rejecting \"hostkeys-00@openssh.com\" global request from server.\n",
|
||||
"2024-01-05 13:23:18,635 - paramiko.transport - DEBUG - Debug msg: b'/home/sebl/.ssh/authorized_keys:4: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding'\n",
|
||||
"2024-01-05 13:23:18,697 - paramiko.transport - DEBUG - [chan 0] Max packet out: 32768 bytes\n",
|
||||
"2024-01-05 13:23:18,698 - paramiko.transport - DEBUG - Secsh channel 0 opened.\n",
|
||||
"2024-01-05 13:23:19,550 - paramiko.transport - DEBUG - [chan 0] EOF sent (0)\n",
|
||||
"2024-01-05 13:23:19,551 - paramiko.transport - DEBUG - [chan 1] Max packet in: 32768 bytes\n",
|
||||
"2024-01-05 13:23:19,587 - paramiko.transport - DEBUG - [chan 0] EOF received (0)\n",
|
||||
"2024-01-05 13:23:19,615 - paramiko.transport - DEBUG - [chan 1] Max packet out: 32768 bytes\n",
|
||||
"2024-01-05 13:23:19,616 - paramiko.transport - DEBUG - Secsh channel 1 opened.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "[('T20', '0105000020E61000000100000001020000000700000048F8DEDFA00D21405260014C19AC474079B0C56E9F0D2140DBFB54151AAC4740E08618AF790D21406AC2F69331AC474074452921580D2140A20DC00644AC4740F14927124C0D214052D4997B48AC4740FC89CA86350D21405BB22AC24DAC47405B99F04BFD0C21402C7FBE2D58AC4740'),\n ('T0', '0105000020E6100000010000000102000000030000001E34BBEEAD10214092EBA694D7B44740813FFCFCF7102140D2A6EA1ED9B447400F98874CF9102140F1F3DF83D7B44740'),\n ('T30', '0105000020E6100000010000000102000000030000007C293C68760D2140B806B64AB0B0474079CDAB3AAB0D21408E90813CBBB04740ACAC6D8AC70D214001892650C4B04740'),\n ('T50', '0105000020E610000001000000010200000002000000D40AD3F71A1221408690F3FE3FAE4740FBB2B453731121407B1684F23EAE4740'),\n ('T50', '0105000020E61000000100000001020000000500000031B610E4A0242140B16CE690D4B0474094C151F2EA24214072FC5069C4B047409CFC169D2C252140C7A17E17B6B047408A0453CDAC2521405890662C9AB047409B3BFA5FAE252140643E20D099B04740'),\n ('T0', '0105000020E610000001000000010200000002000000A2B5A2CD71162140D9EBDD1FEFAF47403B8DB454DE162140B3791C06F3AF4740'),\n ('T20', '0105000020E6100000010000000102000000020000004B1E4FCB0F0421401C2444F982AE474024287E8CB9032140DC7F643A74AE4740'),\n ('T50', '0105000020E6100000010000000102000000020000005F45460724192140EDD79DEE3CAF4740BCB0355B79192140E146CA1649AF4740'),\n ('T30', '0105000020E6100000010000000102000000020000006DE525FF930F2140691D554D10B14740F6984869360F21408753E6E61BB14740'),\n ('T0', '0105000020E610000001000000010200000003000000C6A52A6D71152140A2CF471971AF474047E9D2BF24152140D978B0C56EAF47400B9A965819152140C70DBF9B6EAF4740'),\n ('T30', '0105000020E61000000100000001020000000300000063D520CCED1E2140E1CFF0660DB44740CFBF5DF6EB1E2140878A71FE26B44740A1D79FC4E71E2140CD3CB9A640B44740'),\n ('T50', '0105000020E610000001000000010200000002000000B4ACFBC74214214044A7E7DD58B447402158552FBF132140A9BD88B663B44740'),\n ('T50', '0105000020E610000001000000010200000003000000E04BE141B30B2140815F234910B24740703FE081010C2140ACC8E88024B2474026547078410C2140207A522635B24740'),\n ('T30', '0105000020E6100000010000000102000000020000008E5BCCCF0D1D2140494DBB9866B047403D0AD7A3701D2140FFD0CC936BB04740'),\n ('T30', '0105000020E6100000010000000102000000030000006C770FD07D192140F04DD36707AE47403602F1BA7E192140F04DD36707AE4740DD7A4D0F0A1A2140520FD1E80EAE4740'),\n ('T30', '0105000020E61000000100000001020000000200000095826E2F690C21401442075DC2AF4740E8C072840C0C2140A04FE449D2AF4740'),\n ('T0', '0105000020E610000001000000010200000002000000F969DC9BDF00214003931B45D6B24740D482177D050121403468E89FE0B24740'),\n ('T50', '0105000020E61000000100000001020000000300000055BDFC4E93192140E144F46BEBB34740E998F38C7D1921404CC79C67ECB347409015FC36C4182140C4B0C398F4B34740'),\n ('T30', '0105000020E61000000100000001020000000200000052802898310D2140450F7C0C56B04740D11F9A79720D214017618A7269B04740'),\n ('T0', '0105000020E61000000100000001020000000300000000E2AE5E450E2140E5D2F88557B247404A7B832F4C0E2140FCC6D79E59B24740063065E0800E2140CAC342AD69B24740'),\n ('T20', '0105000020E610000001000000010200000002000000FAB48AFED0242140003B376DC6B34740ED9FA701832421409B92ACC3D1B34740'),\n ('T0', '0105000020E6100000010000000102000000020000003B8DB454DE062140B741EDB776B04740892650C422062140122F4FE78AB04740'),\n ('T30', '0105000020E610000001000000010200000004000000904AB1A3710821409F2287889BAF4740580053060E082140F8A75489B2AF474037AAD381AC072140103E9468C9AF47402BF697DD930721404CDE0033DFAF4740'),\n ('T30', '0105000020E610000001000000010200000002000000B4AA251DE5102140185E49F25CAF474085ED27637C102140C36169E047AF4740'),\n ('T0', '0105000020E6100000010000000102000000020000004ED53DB2B9122140EF8CB62A89B24740F209D9791B1321402C616D8C9DB24740'),\n ('T0', '0105000020E610000001000000010200000002000000F24064912616214049BDA772DAB1474023D74D29AF1521401686C8E9EBB14740'),\n ('T0', '0105000020E610000001000000010200000003000000C34A051555F720408F1B7E37DDB047400805A568E5F6204020CF2EDFFAB047405A0EF450DBF62040A8363811FDB04740'),\n ('T0', '0105000020E6100000010000000102000000030000007FDAA84E071A21406281AFE8D6B547408884EFFD0D1A214060E5D022DBB54740520FD1E80E1A214077D9AF3BDDB54740'),\n ('T0', '0105000020E610000001000000010200000002000000F35A09DD251121405BCEA5B8AAB44740EAB0C22D1F112140DA740470B3B44740'),\n ('T50', '0105000020E6100000010000000102000000030000006B11514CDE10214009F9A067B3AE47405C8DEC4ACB102140CEFA9463B2AE4740C68503215910214019ABCDFFABAE4740'),\n ('T0', '0105000020E610000001000000010200000003000000DD7BB8E4B80B214089247A19C5B24740A12C7C7DAD0B2140CE001764CBB247404C1938A0A50B2140C573B680D0B24740'),\n ('T0', '0105000020E61000000100000001020000000400000005DCF3FC691321403BE12538F5AF47409F2287889B132140C3B645990DB04740605AD427B9132140B7F1272A1BB047409E7939ECBE1321401492CCEA1DB04740'),\n ('T50', '0105000020E61000000100000001020000000300000071CB4752D2132140A67C08AA46B14740450F7C0C56142140C37E4FAC53B147403ACFD8976C1421404BE658DE55B14740'),\n ('T30', '0105000020E6100000010000000102000000020000009BA9108FC41B2140D9D0CDFE40AF4740B6476FB88F1C2140245E9ECE15AF4740'),\n ('T0', 'Line truncated
|
||||
},
|
||||
"execution_count": 11,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"sigspeed_sql = \"\"\"\n",
|
||||
" SELECT \n",
|
||||
" temporegime_technical as tempo, \n",
|
||||
" wkb_geometry AS geometry\n",
|
||||
" FROM signaled_speeds;\n",
|
||||
" \"\"\"\n",
|
||||
"result = remote_db.execute_query(sigspeed_sql)\n",
|
||||
"result"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:23:20.524885942Z",
|
||||
"start_time": "2024-01-05T12:23:18.348591925Z"
|
||||
}
|
||||
},
|
||||
"id": "29b60614b47dbc87"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "('T20', '0105000020E61000000100000001020000000700000048F8DEDFA00D21405260014C19AC474079B0C56E9F0D2140DBFB54151AAC4740E08618AF790D21406AC2F69331AC474074452921580D2140A20DC00644AC4740F14927124C0D214052D4997B48AC4740FC89CA86350D21405BB22AC24DAC47405B99F04BFD0C21402C7FBE2D58AC4740')"
|
||||
},
|
||||
"execution_count": 12,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"result[0]"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:23:20.525754482Z",
|
||||
"start_time": "2024-01-05T12:23:20.520394152Z"
|
||||
}
|
||||
},
|
||||
"id": "cddcbd64b8c52d93"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def get_signaled_speed_sql():\n",
|
||||
" sigspeed_sql = \"\"\"\n",
|
||||
" SELECT \n",
|
||||
" temporegime_technical as tempo, \n",
|
||||
" wkb_geometry\n",
|
||||
" FROM signaled_speeds;\n",
|
||||
" \"\"\"\n",
|
||||
" remote_db = RemoteDB()\n",
|
||||
" try:\n",
|
||||
" result = remote_db.execute_query(sigspeed_sql)\n",
|
||||
" #logger.info(f\"Succesfully retrieved result\")\n",
|
||||
" return result\n",
|
||||
" except Exception as e:\n",
|
||||
" print(f\"Exception occred{e}\")\n",
|
||||
" #logger.exception(f\"Failed getting result with exception {e}\")\n",
|
||||
" finally:\n",
|
||||
" remote_db.close()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:23:20.596801366Z",
|
||||
"start_time": "2024-01-05T12:23:20.523639796Z"
|
||||
}
|
||||
},
|
||||
"id": "27a7b3f6851e64c4"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2024-01-05 13:23:20,599 - paramiko.transport - DEBUG - starting thread (client mode): 0xaa5d7e10\n",
|
||||
"2024-01-05 13:23:20,599 - paramiko.transport - DEBUG - Local version/idstring: SSH-2.0-paramiko_3.4.0\n",
|
||||
"2024-01-05 13:23:20,630 - paramiko.transport - DEBUG - Remote version/idstring: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.6\n",
|
||||
"2024-01-05 13:23:20,630 - paramiko.transport - INFO - Connected (version 2.0, client OpenSSH_8.9p1)\n",
|
||||
"2024-01-05 13:23:20,658 - paramiko.transport - DEBUG - === Key exchange possibilities ===\n",
|
||||
"2024-01-05 13:23:20,658 - paramiko.transport - DEBUG - kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, sntrup761x25519-sha512@openssh.com, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256, kex-strict-s-v00@openssh.com\n",
|
||||
"2024-01-05 13:23:20,659 - paramiko.transport - DEBUG - server key: rsa-sha2-512, rsa-sha2-256, ecdsa-sha2-nistp256, ssh-ed25519\n",
|
||||
"2024-01-05 13:23:20,659 - paramiko.transport - DEBUG - client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com\n",
|
||||
"2024-01-05 13:23:20,659 - paramiko.transport - DEBUG - server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com\n",
|
||||
"2024-01-05 13:23:20,659 - paramiko.transport - DEBUG - client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1\n",
|
||||
"2024-01-05 13:23:20,659 - paramiko.transport - DEBUG - server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1\n",
|
||||
"2024-01-05 13:23:20,659 - paramiko.transport - DEBUG - client compress: none, zlib@openssh.com\n",
|
||||
"2024-01-05 13:23:20,660 - paramiko.transport - DEBUG - server compress: none, zlib@openssh.com\n",
|
||||
"2024-01-05 13:23:20,660 - paramiko.transport - DEBUG - client lang: <none>\n",
|
||||
"2024-01-05 13:23:20,660 - paramiko.transport - DEBUG - server lang: <none>\n",
|
||||
"2024-01-05 13:23:20,660 - paramiko.transport - DEBUG - kex follows: False\n",
|
||||
"2024-01-05 13:23:20,660 - paramiko.transport - DEBUG - === Key exchange agreements ===\n",
|
||||
"2024-01-05 13:23:20,660 - paramiko.transport - DEBUG - Strict kex mode: True\n",
|
||||
"2024-01-05 13:23:20,660 - paramiko.transport - DEBUG - Kex: curve25519-sha256@libssh.org\n",
|
||||
"2024-01-05 13:23:20,660 - paramiko.transport - DEBUG - HostKey: ssh-ed25519\n",
|
||||
"2024-01-05 13:23:20,661 - paramiko.transport - DEBUG - Cipher: aes128-ctr\n",
|
||||
"2024-01-05 13:23:20,661 - paramiko.transport - DEBUG - MAC: hmac-sha2-256\n",
|
||||
"2024-01-05 13:23:20,661 - paramiko.transport - DEBUG - Compression: none\n",
|
||||
"2024-01-05 13:23:20,661 - paramiko.transport - DEBUG - === End of kex handshake ===\n",
|
||||
"2024-01-05 13:23:20,699 - paramiko.transport - DEBUG - Resetting outbound seqno after NEWKEYS due to strict mode\n",
|
||||
"2024-01-05 13:23:20,700 - paramiko.transport - DEBUG - kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>\n",
|
||||
"2024-01-05 13:23:20,701 - paramiko.transport - DEBUG - Switch to new keys ...\n",
|
||||
"2024-01-05 13:23:20,701 - paramiko.transport - DEBUG - Resetting inbound seqno after NEWKEYS due to strict mode\n",
|
||||
"2024-01-05 13:23:20,701 - paramiko.transport - DEBUG - Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com', 'publickey-hostbound@openssh.com': b'0'}\n",
|
||||
"2024-01-05 13:23:20,701 - paramiko.transport - DEBUG - Attempting public-key auth...\n",
|
||||
"2024-01-05 13:23:20,798 - paramiko.transport - DEBUG - userauth is OK\n",
|
||||
"2024-01-05 13:23:20,849 - paramiko.transport - INFO - Authentication (publickey) successful!\n",
|
||||
"2024-01-05 13:23:20,851 - paramiko.transport - DEBUG - [chan 0] Max packet in: 32768 bytes\n",
|
||||
"2024-01-05 13:23:20,939 - paramiko.transport - DEBUG - Received global request \"hostkeys-00@openssh.com\"\n",
|
||||
"2024-01-05 13:23:20,939 - paramiko.transport - DEBUG - Rejecting \"hostkeys-00@openssh.com\" global request from server.\n",
|
||||
"2024-01-05 13:23:20,940 - paramiko.transport - DEBUG - Debug msg: b'/home/sebl/.ssh/authorized_keys:4: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding'\n",
|
||||
"2024-01-05 13:23:21,004 - paramiko.transport - DEBUG - [chan 0] Max packet out: 32768 bytes\n",
|
||||
"2024-01-05 13:23:21,004 - paramiko.transport - DEBUG - Secsh channel 0 opened.\n",
|
||||
"2024-01-05 13:23:21,737 - paramiko.transport - DEBUG - [chan 0] EOF sent (0)\n",
|
||||
"2024-01-05 13:23:21,738 - paramiko.transport - DEBUG - [chan 1] Max packet in: 32768 bytes\n",
|
||||
"2024-01-05 13:23:21,774 - paramiko.transport - DEBUG - [chan 0] EOF received (0)\n",
|
||||
"2024-01-05 13:23:21,797 - paramiko.transport - DEBUG - [chan 1] Max packet out: 32768 bytes\n",
|
||||
"2024-01-05 13:23:21,797 - paramiko.transport - DEBUG - Secsh channel 1 opened.\n",
|
||||
"2024-01-05 13:23:22,642 - paramiko.transport - DEBUG - [chan 1] EOF sent (1)\n",
|
||||
"2024-01-05 13:23:22,642 - paramiko.transport - DEBUG - Dropping user packet because connection is dead.\n",
|
||||
"2024-01-05 13:23:22,643 - paramiko.transport - DEBUG - Dropping user packet because connection is dead.\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"res = get_signaled_speed_sql()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:23:22.646286681Z",
|
||||
"start_time": "2024-01-05T12:23:20.554383997Z"
|
||||
}
|
||||
},
|
||||
"id": "35187c733fff25ca"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"outputs": [],
|
||||
"source": [],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:23:22.661701192Z",
|
||||
"start_time": "2024-01-05T12:23:22.646931596Z"
|
||||
}
|
||||
},
|
||||
"id": "a7ad24ab0b54a527"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2024-01-05 13:23:22,652 - paramiko.transport - DEBUG - Sending global request \"keepalive@lag.net\"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "[('T20', '0105000020E61000000100000001020000000700000048F8DEDFA00D21405260014C19AC474079B0C56E9F0D2140DBFB54151AAC4740E08618AF790D21406AC2F69331AC474074452921580D2140A20DC00644AC4740F14927124C0D214052D4997B48AC4740FC89CA86350D21405BB22AC24DAC47405B99F04BFD0C21402C7FBE2D58AC4740'),\n ('T0', '0105000020E6100000010000000102000000030000001E34BBEEAD10214092EBA694D7B44740813FFCFCF7102140D2A6EA1ED9B447400F98874CF9102140F1F3DF83D7B44740'),\n ('T30', '0105000020E6100000010000000102000000030000007C293C68760D2140B806B64AB0B0474079CDAB3AAB0D21408E90813CBBB04740ACAC6D8AC70D214001892650C4B04740'),\n ('T50', '0105000020E610000001000000010200000002000000D40AD3F71A1221408690F3FE3FAE4740FBB2B453731121407B1684F23EAE4740'),\n ('T50', '0105000020E61000000100000001020000000500000031B610E4A0242140B16CE690D4B0474094C151F2EA24214072FC5069C4B047409CFC169D2C252140C7A17E17B6B047408A0453CDAC2521405890662C9AB047409B3BFA5FAE252140643E20D099B04740'),\n ('T0', '0105000020E610000001000000010200000002000000A2B5A2CD71162140D9EBDD1FEFAF47403B8DB454DE162140B3791C06F3AF4740'),\n ('T20', '0105000020E6100000010000000102000000020000004B1E4FCB0F0421401C2444F982AE474024287E8CB9032140DC7F643A74AE4740'),\n ('T50', '0105000020E6100000010000000102000000020000005F45460724192140EDD79DEE3CAF4740BCB0355B79192140E146CA1649AF4740'),\n ('T30', '0105000020E6100000010000000102000000020000006DE525FF930F2140691D554D10B14740F6984869360F21408753E6E61BB14740'),\n ('T0', '0105000020E610000001000000010200000003000000C6A52A6D71152140A2CF471971AF474047E9D2BF24152140D978B0C56EAF47400B9A965819152140C70DBF9B6EAF4740'),\n ('T30', '0105000020E61000000100000001020000000300000063D520CCED1E2140E1CFF0660DB44740CFBF5DF6EB1E2140878A71FE26B44740A1D79FC4E71E2140CD3CB9A640B44740'),\n ('T50', '0105000020E610000001000000010200000002000000B4ACFBC74214214044A7E7DD58B447402158552FBF132140A9BD88B663B44740'),\n ('T50', '0105000020E610000001000000010200000003000000E04BE141B30B2140815F234910B24740703FE081010C2140ACC8E88024B2474026547078410C2140207A522635B24740'),\n ('T30', '0105000020E6100000010000000102000000020000008E5BCCCF0D1D2140494DBB9866B047403D0AD7A3701D2140FFD0CC936BB04740'),\n ('T30', '0105000020E6100000010000000102000000030000006C770FD07D192140F04DD36707AE47403602F1BA7E192140F04DD36707AE4740DD7A4D0F0A1A2140520FD1E80EAE4740'),\n ('T30', '0105000020E61000000100000001020000000200000095826E2F690C21401442075DC2AF4740E8C072840C0C2140A04FE449D2AF4740'),\n ('T0', '0105000020E610000001000000010200000002000000F969DC9BDF00214003931B45D6B24740D482177D050121403468E89FE0B24740'),\n ('T50', '0105000020E61000000100000001020000000300000055BDFC4E93192140E144F46BEBB34740E998F38C7D1921404CC79C67ECB347409015FC36C4182140C4B0C398F4B34740'),\n ('T30', '0105000020E61000000100000001020000000200000052802898310D2140450F7C0C56B04740D11F9A79720D214017618A7269B04740'),\n ('T0', '0105000020E61000000100000001020000000300000000E2AE5E450E2140E5D2F88557B247404A7B832F4C0E2140FCC6D79E59B24740063065E0800E2140CAC342AD69B24740'),\n ('T20', '0105000020E610000001000000010200000002000000FAB48AFED0242140003B376DC6B34740ED9FA701832421409B92ACC3D1B34740'),\n ('T0', '0105000020E6100000010000000102000000020000003B8DB454DE062140B741EDB776B04740892650C422062140122F4FE78AB04740'),\n ('T30', '0105000020E610000001000000010200000004000000904AB1A3710821409F2287889BAF4740580053060E082140F8A75489B2AF474037AAD381AC072140103E9468C9AF47402BF697DD930721404CDE0033DFAF4740'),\n ('T30', '0105000020E610000001000000010200000002000000B4AA251DE5102140185E49F25CAF474085ED27637C102140C36169E047AF4740'),\n ('T0', '0105000020E6100000010000000102000000020000004ED53DB2B9122140EF8CB62A89B24740F209D9791B1321402C616D8C9DB24740'),\n ('T0', '0105000020E610000001000000010200000002000000F24064912616214049BDA772DAB1474023D74D29AF1521401686C8E9EBB14740'),\n ('T0', '0105000020E610000001000000010200000003000000C34A051555F720408F1B7E37DDB047400805A568E5F6204020CF2EDFFAB047405A0EF450DBF62040A8363811FDB04740'),\n ('T0', '0105000020E6100000010000000102000000030000007FDAA84E071A21406281AFE8D6B547408884EFFD0D1A214060E5D022DBB54740520FD1E80E1A214077D9AF3BDDB54740'),\n ('T0', '0105000020E610000001000000010200000002000000F35A09DD251121405BCEA5B8AAB44740EAB0C22D1F112140DA740470B3B44740'),\n ('T50', '0105000020E6100000010000000102000000030000006B11514CDE10214009F9A067B3AE47405C8DEC4ACB102140CEFA9463B2AE4740C68503215910214019ABCDFFABAE4740'),\n ('T0', '0105000020E610000001000000010200000003000000DD7BB8E4B80B214089247A19C5B24740A12C7C7DAD0B2140CE001764CBB247404C1938A0A50B2140C573B680D0B24740'),\n ('T0', '0105000020E61000000100000001020000000400000005DCF3FC691321403BE12538F5AF47409F2287889B132140C3B645990DB04740605AD427B9132140B7F1272A1BB047409E7939ECBE1321401492CCEA1DB04740'),\n ('T50', '0105000020E61000000100000001020000000300000071CB4752D2132140A67C08AA46B14740450F7C0C56142140C37E4FAC53B147403ACFD8976C1421404BE658DE55B14740'),\n ('T30', '0105000020E6100000010000000102000000020000009BA9108FC41B2140D9D0CDFE40AF4740B6476FB88F1C2140245E9ECE15AF4740'),\n ('T0', 'Line truncated
|
||||
},
|
||||
"execution_count": 15,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"res"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:23:22.666988635Z",
|
||||
"start_time": "2024-01-05T12:23:22.653362014Z"
|
||||
}
|
||||
},
|
||||
"id": "1d746210c4056933"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 20,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from shapely import wkb\n",
|
||||
"import shapely\n",
|
||||
"import folium\n",
|
||||
"import json\n",
|
||||
"\n",
|
||||
"# Your Folium map\n",
|
||||
"map = folium.Map(location=[47.368650, 8.539183], zoom_start=13, tiles=\"cartodb positron\")\n",
|
||||
"\n",
|
||||
"wkb_geometry = '0105000020E6100000010000000102000000030000001C261AA4E0112140605793A7ACB047400EA2B5A2CD11214058E1968FA4B047406F47382D78112140983446EBA8B04740'\n",
|
||||
"\n",
|
||||
"shapely_geometry = wkb.loads(wkb_geometry, hex=True)\n",
|
||||
"\n",
|
||||
"geojson_geometry = json.loads(json.dumps(shapely.geometry.mapping(shapely_geometry)))\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"folium.GeoJson(geojson_geometry).add_to(map)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"map.save(\"map.html\") \n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:27:13.987931682Z",
|
||||
"start_time": "2024-01-05T12:27:13.985968916Z"
|
||||
}
|
||||
},
|
||||
"id": "2951c82f59b6d90c"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 28,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2024-01-05 13:43:28,309 - paramiko.transport - DEBUG - starting thread (client mode): 0x8b0a0e10\n",
|
||||
"2024-01-05 13:43:28,310 - paramiko.transport - DEBUG - Local version/idstring: SSH-2.0-paramiko_3.4.0\n",
|
||||
"2024-01-05 13:43:28,343 - paramiko.transport - DEBUG - Remote version/idstring: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.6\n",
|
||||
"2024-01-05 13:43:28,344 - paramiko.transport - INFO - Connected (version 2.0, client OpenSSH_8.9p1)\n",
|
||||
"2024-01-05 13:43:28,368 - paramiko.transport - DEBUG - === Key exchange possibilities ===\n",
|
||||
"2024-01-05 13:43:28,368 - paramiko.transport - DEBUG - kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, sntrup761x25519-sha512@openssh.com, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256, kex-strict-s-v00@openssh.com\n",
|
||||
"2024-01-05 13:43:28,369 - paramiko.transport - DEBUG - server key: rsa-sha2-512, rsa-sha2-256, ecdsa-sha2-nistp256, ssh-ed25519\n",
|
||||
"2024-01-05 13:43:28,370 - paramiko.transport - DEBUG - client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com\n",
|
||||
"2024-01-05 13:43:28,370 - paramiko.transport - DEBUG - server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com\n",
|
||||
"2024-01-05 13:43:28,370 - paramiko.transport - DEBUG - client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1\n",
|
||||
"2024-01-05 13:43:28,371 - paramiko.transport - DEBUG - server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1\n",
|
||||
"2024-01-05 13:43:28,371 - paramiko.transport - DEBUG - client compress: none, zlib@openssh.com\n",
|
||||
"2024-01-05 13:43:28,371 - paramiko.transport - DEBUG - server compress: none, zlib@openssh.com\n",
|
||||
"2024-01-05 13:43:28,371 - paramiko.transport - DEBUG - client lang: <none>\n",
|
||||
"2024-01-05 13:43:28,372 - paramiko.transport - DEBUG - server lang: <none>\n",
|
||||
"2024-01-05 13:43:28,372 - paramiko.transport - DEBUG - kex follows: False\n",
|
||||
"2024-01-05 13:43:28,372 - paramiko.transport - DEBUG - === Key exchange agreements ===\n",
|
||||
"2024-01-05 13:43:28,373 - paramiko.transport - DEBUG - Strict kex mode: True\n",
|
||||
"2024-01-05 13:43:28,373 - paramiko.transport - DEBUG - Kex: curve25519-sha256@libssh.org\n",
|
||||
"2024-01-05 13:43:28,373 - paramiko.transport - DEBUG - HostKey: ssh-ed25519\n",
|
||||
"2024-01-05 13:43:28,374 - paramiko.transport - DEBUG - Cipher: aes128-ctr\n",
|
||||
"2024-01-05 13:43:28,374 - paramiko.transport - DEBUG - MAC: hmac-sha2-256\n",
|
||||
"2024-01-05 13:43:28,374 - paramiko.transport - DEBUG - Compression: none\n",
|
||||
"2024-01-05 13:43:28,374 - paramiko.transport - DEBUG - === End of kex handshake ===\n",
|
||||
"2024-01-05 13:43:28,453 - paramiko.transport - DEBUG - Resetting outbound seqno after NEWKEYS due to strict mode\n",
|
||||
"2024-01-05 13:43:28,453 - paramiko.transport - DEBUG - kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>\n",
|
||||
"2024-01-05 13:43:28,455 - paramiko.transport - DEBUG - Switch to new keys ...\n",
|
||||
"2024-01-05 13:43:28,455 - paramiko.transport - DEBUG - Resetting inbound seqno after NEWKEYS due to strict mode\n",
|
||||
"2024-01-05 13:43:28,456 - paramiko.transport - DEBUG - Attempting public-key auth...\n",
|
||||
"2024-01-05 13:43:28,456 - paramiko.transport - DEBUG - Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com', 'publickey-hostbound@openssh.com': b'0'}\n",
|
||||
"2024-01-05 13:43:28,545 - paramiko.transport - DEBUG - userauth is OK\n",
|
||||
"2024-01-05 13:43:28,596 - paramiko.transport - INFO - Authentication (publickey) successful!\n",
|
||||
"2024-01-05 13:43:28,600 - paramiko.transport - DEBUG - [chan 0] Max packet in: 32768 bytes\n",
|
||||
"2024-01-05 13:43:28,685 - paramiko.transport - DEBUG - Received global request \"hostkeys-00@openssh.com\"\n",
|
||||
"2024-01-05 13:43:28,686 - paramiko.transport - DEBUG - Rejecting \"hostkeys-00@openssh.com\" global request from server.\n",
|
||||
"2024-01-05 13:43:28,686 - paramiko.transport - DEBUG - Debug msg: b'/home/sebl/.ssh/authorized_keys:4: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding'\n",
|
||||
"2024-01-05 13:43:28,748 - paramiko.transport - DEBUG - [chan 0] Max packet out: 32768 bytes\n",
|
||||
"2024-01-05 13:43:28,749 - paramiko.transport - DEBUG - Secsh channel 0 opened.\n",
|
||||
"2024-01-05 13:43:29,313 - paramiko.transport - DEBUG - [chan 0] EOF sent (0)\n",
|
||||
"2024-01-05 13:43:29,314 - paramiko.transport - DEBUG - [chan 1] Max packet in: 32768 bytes\n",
|
||||
"2024-01-05 13:43:29,345 - paramiko.transport - DEBUG - [chan 0] EOF received (0)\n",
|
||||
"2024-01-05 13:43:29,368 - paramiko.transport - DEBUG - [chan 1] Max packet out: 32768 bytes\n",
|
||||
"2024-01-05 13:43:29,369 - paramiko.transport - DEBUG - Secsh channel 1 opened.\n",
|
||||
"2024-01-05 13:43:29,631 - paramiko.transport - DEBUG - Sending global request \"keepalive@lag.net\"\n",
|
||||
"2024-01-05 13:43:30,332 - paramiko.transport - DEBUG - [chan 1] EOF sent (1)\n",
|
||||
"2024-01-05 13:43:30,375 - paramiko.transport - DEBUG - [chan 1] EOF received (1)\n",
|
||||
"2024-01-05 13:43:30,445 - paramiko.transport - DEBUG - EOF in transport thread\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import pandas as pd\n",
|
||||
"import geopandas as gpd\n",
|
||||
"map = folium.Map(location=[47.368650, 8.539183], zoom_start=13, tiles=\"cartodb positron\")\n",
|
||||
"sig_speeds_data = get_signaled_speed_sql()\n",
|
||||
"sig_speed_df = pd.DataFrame(sig_speeds_data, columns=['tempo','wkb_geometry'])\n",
|
||||
"sig_speed_df[\"geometry\"] = sig_speed_df[\"wkb_geometry\"].apply(lambda x: wkb.loads(x, hex=True))\n",
|
||||
"speedLimits = [\"T0\",\"T10\",\"T20\",\"T30\",\"T50\",\"T60\",\"T80\",\"T100\"]\n",
|
||||
"color_dict = {\n",
|
||||
" \"T0\": \"red\",\n",
|
||||
" \"T10\": \"blue\",\n",
|
||||
" \"T20\": \"orange\",\n",
|
||||
" \"T30\": \"green\",\n",
|
||||
" \"T50\": \"yellow\",\n",
|
||||
" \"T60\": \"purple\",\n",
|
||||
" \"T80\": \"pink\",\n",
|
||||
" \"T100\": \"gray\"\n",
|
||||
"}\n",
|
||||
"sig_speed_gdf = gpd.GeoDataFrame(sig_speed_df, geometry=\"geometry\")\n",
|
||||
"for speedlimit in speedLimits:\n",
|
||||
" signal_speed = sig_speed_gdf[sig_speed_gdf[\"tempo\"].str.contains(speedlimit, case=False)]\n",
|
||||
" geometries = json.loads(json.dumps(shapely.geometry.mapping(signal_speed['geometry'].unary_union)))\n",
|
||||
"\n",
|
||||
"\n",
|
||||
" folium.GeoJson(\n",
|
||||
" data=geometries,\n",
|
||||
" name=f'Signaled Speed {speedlimit}',\n",
|
||||
" color=color_dict[speedlimit],\n",
|
||||
" show=False,\n",
|
||||
" line_cap=\"butt\",\n",
|
||||
" ).add_to(map)\n",
|
||||
"\n",
|
||||
"folium.LayerControl(collapsed=True).add_to(map)\n",
|
||||
"map.save(\"map.html\") "
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-05T12:43:31.133678293Z",
|
||||
"start_time": "2024-01-05T12:43:28.276015267Z"
|
||||
}
|
||||
},
|
||||
"id": "f159f38ba318313d"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 2
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython2",
|
||||
"version": "2.7.6"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
||||
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
+12
-1
@@ -22,4 +22,15 @@ deactivate
|
||||
See ``requirements.txt``
|
||||
|
||||
# Setting up postgres
|
||||
# Setting up pgadmin as container serverd by nginx
|
||||
# Setting up pgadmin as container serverd by nginx
|
||||
|
||||
# Load csv into db HOT FIX
|
||||
Go to directory containing the csvs.
|
||||
```bash
|
||||
cd group-1/src/datasets/integrated/ && psql -h localhost -d proj_db -U sebl -p 5433
|
||||
```
|
||||
Then manually copy
|
||||
```postgresql
|
||||
\copy FootBikeCount FROM 'FootBikeCount.csv' WITH CSV HEADER
|
||||
\copy mivcount FROM 'MivCount.csv' WITH CSV HEADER
|
||||
```
|
||||
Regular → Executable
+27
@@ -1,3 +1,4 @@
|
||||
ansi2html==1.9.1
|
||||
anyio==4.0.0
|
||||
appnope==0.1.3
|
||||
argon2-cffi==23.1.0
|
||||
@@ -10,6 +11,8 @@ Babel==2.13.1
|
||||
beautifulsoup4==4.12.2
|
||||
black==23.11.0
|
||||
bleach==6.1.0
|
||||
blinker==1.7.0
|
||||
branca==0.7.0
|
||||
certifi==2023.7.22
|
||||
cffi==1.16.0
|
||||
charset-normalizer==3.3.2
|
||||
@@ -17,20 +20,32 @@ click==8.1.7
|
||||
click-plugins==1.1.1
|
||||
cligj==0.7.2
|
||||
comm==0.2.0
|
||||
contourpy==1.2.0
|
||||
cycler==0.12.1
|
||||
dash==2.14.2
|
||||
dash-core-components==2.0.0
|
||||
dash-html-components==2.0.0
|
||||
dash-table==5.0.0
|
||||
debugpy==1.8.0
|
||||
decorator==5.1.1
|
||||
defusedxml==0.7.1
|
||||
executing==2.0.1
|
||||
fastjsonschema==2.19.0
|
||||
fiona==1.9.5
|
||||
Flask==3.0.0
|
||||
folium==0.15.1
|
||||
fonttools==4.47.0
|
||||
fqdn==1.5.1
|
||||
GeoAlchemy2==0.14.2
|
||||
geopandas==0.14.1
|
||||
greenlet==3.0.3
|
||||
idna==3.4
|
||||
importlib-metadata==7.0.1
|
||||
ipykernel==6.26.0
|
||||
ipython==8.17.2
|
||||
ipywidgets==8.1.1
|
||||
isoduration==20.11.0
|
||||
itsdangerous==2.1.2
|
||||
jedi==0.19.1
|
||||
Jinja2==3.1.2
|
||||
json5==0.9.14
|
||||
@@ -49,7 +64,9 @@ jupyterlab==4.0.8
|
||||
jupyterlab-pygments==0.2.2
|
||||
jupyterlab-widgets==3.0.9
|
||||
jupyterlab_server==2.25.1
|
||||
kiwisolver==1.4.5
|
||||
MarkupSafe==2.1.3
|
||||
matplotlib==3.8.2
|
||||
matplotlib-inline==0.1.6
|
||||
mistune==3.0.2
|
||||
mypy-extensions==1.0.0
|
||||
@@ -67,7 +84,9 @@ pandocfilters==1.5.0
|
||||
parso==0.8.3
|
||||
pathspec==0.11.2
|
||||
pexpect==4.8.0
|
||||
pillow==10.2.0
|
||||
platformdirs==4.0.0
|
||||
plotly==5.18.0
|
||||
prometheus-client==0.18.0
|
||||
prompt-toolkit==3.0.41
|
||||
psutil==5.9.6
|
||||
@@ -76,6 +95,7 @@ ptyprocess==0.7.0
|
||||
pure-eval==0.2.2
|
||||
pycparser==2.21
|
||||
Pygments==2.16.1
|
||||
pyparsing==3.1.1
|
||||
pyproj==3.6.1
|
||||
python-dateutil==2.8.2
|
||||
python-json-logger==2.0.7
|
||||
@@ -86,6 +106,7 @@ qtconsole==5.5.1
|
||||
QtPy==2.4.1
|
||||
referencing==0.31.0
|
||||
requests==2.31.0
|
||||
retrying==1.3.4
|
||||
rfc3339-validator==0.1.4
|
||||
rfc3986-validator==0.1.1
|
||||
rpds-py==0.13.0
|
||||
@@ -96,6 +117,7 @@ sniffio==1.3.0
|
||||
soupsieve==2.5
|
||||
SQLAlchemy==2.0.23
|
||||
stack-data==0.6.3
|
||||
tenacity==8.2.3
|
||||
terminado==0.18.0
|
||||
tinycss2==1.2.1
|
||||
tornado==6.3.3
|
||||
@@ -109,4 +131,9 @@ wcwidth==0.2.10
|
||||
webcolors==1.13
|
||||
webencodings==0.5.1
|
||||
websocket-client==1.6.4
|
||||
Werkzeug==3.0.1
|
||||
widgetsnbextension==4.0.9
|
||||
xyzservices==2023.10.1
|
||||
zipp==3.17.0
|
||||
|
||||
sshtunnel~=0.4.0
|
||||
Regular → Executable
+20
@@ -130,6 +130,26 @@ def load_file_from_api(api_link, target_name, integrated_dir):
|
||||
def save_dataframe_to_csv(df, integrated_dir, filename):
|
||||
pass
|
||||
|
||||
# Needed Since we converted strings all to True
|
||||
def convert_to_boolean(value):
|
||||
true_values = ['true', '1', 'yes']
|
||||
false_values = ['false', '0', 'no']
|
||||
|
||||
if isinstance(value, str):
|
||||
value = value.lower()
|
||||
if value in true_values:
|
||||
return True
|
||||
elif value in false_values:
|
||||
return False
|
||||
else:
|
||||
raise ValueError(f"Invalid boolean string: {value}")
|
||||
|
||||
if isinstance(value, (int, float)):
|
||||
return bool(value)
|
||||
|
||||
raise ValueError(f"Invalid boolean value type: {type(value)}")
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
csv_urls_file = '../docs/all_csv_urls.txt'
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Regular → Executable
File mode changed.
Regular → Executable
+7
-7
@@ -22,10 +22,10 @@ Make sure db_info contain the correct credentials
|
||||
"""
|
||||
db_info = {
|
||||
'host': 'localhost',
|
||||
'database': 'test-db23',
|
||||
'port': '5432',
|
||||
'user': 'seb',
|
||||
'password': '',
|
||||
'database': 'proj_db',
|
||||
'port': '5433',
|
||||
'user': 'sebl',
|
||||
'password': 'hatred-pollute-digraph-disciple',
|
||||
}
|
||||
setup_tables_script = 'setup_tables.sql'
|
||||
load_csvs_into_db_script = 'load_csvs_into_db.sql'
|
||||
@@ -98,11 +98,11 @@ if __name__ == '__main__':
|
||||
db_info['port'],
|
||||
accident_table_name)
|
||||
logger.info('Finished loading accident geojson into db using bash script.')
|
||||
geojson_loader(signaled_speeds_file,
|
||||
run_geojson_loader_script(accident_loader_script,
|
||||
signaled_speeds_file,
|
||||
db_info['database'],
|
||||
db_info['user'],
|
||||
db_info['password'],
|
||||
db_info['host'],
|
||||
db_info['port'],
|
||||
signaled_speeds_table_name,
|
||||
modus='overwrite')
|
||||
signaled_speeds_table_name)
|
||||
Regular → Executable
+16
-9
@@ -113,7 +113,7 @@ def process_foot_bike_data(files_present=True):
|
||||
}).reset_index()
|
||||
dt_obj = pd.to_datetime(fb_df_grouped['DATE'])
|
||||
days = dt_obj.dt.weekday
|
||||
fb_df_grouped['Weekday_en'] = days.map(lambda x: weekday_names[x])
|
||||
fb_df_grouped.loc[:,'Weekday_en'] = days.map(lambda x: weekday_names[x])
|
||||
cleaned_fb_df = fb_df_grouped
|
||||
cleaned_fb_df['ID'] = cleaned_fb_df.index + 1
|
||||
cleaned_fb_df = cleaned_fb_df[['ID', 'NORD', 'OST', 'DATE', 'HRS', 'VELO_IN', 'VELO_OUT', 'FUSS_IN',
|
||||
@@ -125,20 +125,20 @@ def process_foot_bike_data(files_present=True):
|
||||
|
||||
def process_miv_data(files_present=True):
|
||||
miv_df_unified = du.create_unified_df(miv_file_urls, motor_file_u_string, data_dir, files_present=files_present)
|
||||
|
||||
logger.debug("Unified MIV dataframe created.")
|
||||
miv_df_unified[['Datum', "Time"]] = miv_df_unified['MessungDatZeit'].str.split('T', expand=True)
|
||||
miv_df_unified[['Hrs', 'Mins', 'Sec']] = miv_df_unified['Time'].str.split(':', expand=True)
|
||||
|
||||
miv_cols_to_keep = ['MSID','ZSID','Achse', 'NKoord', 'EKoord', 'Richtung', 'AnzFahrzeuge', 'AnzFahrzeugeStatus',
|
||||
'Datum', 'Hrs',]
|
||||
miv_df_cols_dropped = miv_df_unified[miv_cols_to_keep]
|
||||
miv_df_cols_dropped = miv_df_unified[miv_cols_to_keep].copy()
|
||||
|
||||
dt_obj = pd.to_datetime(miv_df_cols_dropped['Datum'])
|
||||
days = dt_obj.dt.weekday
|
||||
miv_df_cols_dropped.loc[:, 'Weekday_en'] = days.map(lambda x: weekday_names[x])
|
||||
|
||||
miv_df_cols_dropped.loc[:, 'AnzFahrzeuge'] = miv_df_cols_dropped['AnzFahrzeuge'].fillna(0).astype(int)
|
||||
miv_df_cols_dropped[:, 'ZSID'] = miv_df_cols_dropped['ZSID'].fillna('Missing').astype(str)
|
||||
miv_df_cols_dropped.loc[:, 'ZSID'] = miv_df_cols_dropped['ZSID'].fillna('Missing').astype(str)
|
||||
miv_df_cols_dropped['ID'] = (miv_df_cols_dropped.index + 1).copy()
|
||||
|
||||
cleaned_miv_df = miv_df_cols_dropped[['ID', 'MSID', 'ZSID', 'Achse', 'NKoord', 'EKoord', 'Richtung', 'AnzFahrzeuge',
|
||||
@@ -153,12 +153,18 @@ def process_accident_data(file_present: bool = True):
|
||||
if not file_present:
|
||||
du.process_urls(data_dir, accident_file_url)
|
||||
acc_df_unified = du.load_dataframes_from_geojson_files(data_dir, accident_file_u_string)
|
||||
logger.debug(acc_df_unified[['AccidentInvolvingPedestrian', 'AccidentInvolvingBicycle',
|
||||
'AccidentInvolvingMotorcycle']].head())
|
||||
acc_cols_to_keep = ['AccidentUID', 'AccidentYear', 'AccidentMonth', 'AccidentWeekDay_en','AccidentHour',
|
||||
'AccidentLocation_CHLV95_N', 'AccidentLocation_CHLV95_E', 'AccidentType_en', 'AccidentType',
|
||||
'AccidentSeverityCategory', 'AccidentInvolvingPedestrian', 'AccidentInvolvingBicycle',
|
||||
'AccidentInvolvingMotorcycle', 'RoadType', 'RoadType_en',
|
||||
'geometry']
|
||||
cleaned_acc_df = acc_df_unified[acc_cols_to_keep]
|
||||
# Need to already convert boolean strings "by hand", otherwise all will become 'True'
|
||||
for col in ['AccidentInvolvingPedestrian', 'AccidentInvolvingBicycle',
|
||||
'AccidentInvolvingMotorcycle']:
|
||||
acc_df_unified[col] = acc_df_unified[col].apply(du.convert_to_boolean)
|
||||
cleaned_acc_df = acc_df_unified[acc_cols_to_keep].copy()
|
||||
cleaned_acc_df.rename(columns={
|
||||
'AccidentLocation_CHLV95_E': 'EKoord',
|
||||
'AccidentLocation_CHLV95_N': 'NKoord',
|
||||
@@ -180,7 +186,7 @@ def process_all_data_sources(fb_present=True, miv_present=True, accident_present
|
||||
"""
|
||||
# ensure_dirs_exist(data_dir, integrated_dir)
|
||||
logger.info("Started processing all data sources.")
|
||||
fb_to_integrated(fb_present)
|
||||
#fb_to_integrated(fb_present)
|
||||
|
||||
miv_to_integrated_csv(miv_present)
|
||||
|
||||
@@ -239,7 +245,8 @@ def load_tempo_geojson_from_api_to_local():
|
||||
|
||||
if __name__ == '__main__':
|
||||
# ensure_dirs_exist(data_dir, integrated_dir, logs_dir)
|
||||
# process_all_data_sources(True, True, True)
|
||||
#process_accident_data()
|
||||
#process_all_data_sources(True, True, False)
|
||||
# miv_to_integrated_csv()
|
||||
# acc_to_cleaned_geojson()
|
||||
load_tempo_geojson_from_api_to_local()
|
||||
acc_to_cleaned_geojson()
|
||||
#load_tempo_geojson_from_api_to_local()
|
||||
Regular → Executable
File mode changed.
Regular → Executable
+2
-2
@@ -1,7 +1,7 @@
|
||||
COPY FootBikeCount FROM '/Users/seb/Projects/repos/group-1/src/datasets/integrated/FootBikeCount.csv'
|
||||
COPY FootBikeCount FROM '/home/sebl/group-1/src/datasets/integrated/FootBikeCount.csv'
|
||||
DELIMITER ','
|
||||
CSV HEADER;
|
||||
|
||||
COPY MivCount FROM '/Users/seb/Projects/repos/group-1/src/datasets/integrated/MivCount.csv'
|
||||
COPY MivCount FROM '/home/sebl/group-1/src/datasets/integrated/MivCount.csv'
|
||||
DELIMITER ','
|
||||
CSV HEADER;
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
COPY FootBikeCount FROM '/Users/seb/Projects/repos/group-1/src/datasets/integrated/FootBikeCount.csv'
|
||||
DELIMITER ','
|
||||
CSV HEADER;
|
||||
|
||||
COPY MivCount FROM '/Users/seb/Projects/repos/group-1/src/datasets/integrated/MivCount.csv'
|
||||
DELIMITER ','
|
||||
CSV HEADER;
|
||||
Regular → Executable
File mode changed.
Regular → Executable
+18
@@ -6,6 +6,8 @@ DROP TABLE IF EXISTS Accidents;
|
||||
|
||||
DROP TABLE IF EXISTS MivCount;
|
||||
|
||||
drop table if exists signaled_speeds;
|
||||
|
||||
|
||||
CREATE TABLE FootBikeCount (
|
||||
ID INTEGER ,
|
||||
@@ -69,4 +71,20 @@ CREATE TABLE Accidents (
|
||||
PRIMARY KEY (AccidentUID) ,
|
||||
CHECK ( AccidentHour BETWEEN 0 AND 23) ,
|
||||
CHECK (AccidentWeekDay_en IN ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'))
|
||||
);
|
||||
-- Ad hoc via generate sql functionality in pycharm
|
||||
create table signaled_speeds
|
||||
(
|
||||
id serial
|
||||
primary key,
|
||||
ausnahmen_fahrverbot varchar,
|
||||
fahrverbot_ssv varchar,
|
||||
lokalisationsname varchar,
|
||||
objectid double precision,
|
||||
publiziert_vsi_datum timestamp with time zone,
|
||||
rechtskraeftig_datum timestamp with time zone,
|
||||
temporegime varchar,
|
||||
temporegime_technical varchar,
|
||||
umgesetzt_datum timestamp with time zone,
|
||||
wkb_geometry geometry(Point, 4326) --changed from MultiLineString
|
||||
);
|
||||
+233
-93
@@ -14,8 +14,8 @@
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2023-12-03T15:47:10.110909Z",
|
||||
"start_time": "2023-12-03T15:47:09.656556Z"
|
||||
"end_time": "2024-01-03T14:15:33.076096175Z",
|
||||
"start_time": "2024-01-03T14:15:32.881183740Z"
|
||||
}
|
||||
},
|
||||
"id": "be55b25929d95559"
|
||||
@@ -23,40 +23,146 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"/Users/seb/Projects/repos/group-1/src/integrate.py:132: SettingWithCopyWarning: \n",
|
||||
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
|
||||
"Try using .loc[row_indexer,col_indexer] = value instead\n",
|
||||
"\n",
|
||||
"See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
|
||||
" miv_df_cols_dropped['Weekday_en'] = days.map(lambda x: weekday_names[x])\n",
|
||||
"/Users/seb/Projects/repos/group-1/src/integrate.py:133: SettingWithCopyWarning: \n",
|
||||
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
|
||||
"Try using .loc[row_indexer,col_indexer] = value instead\n",
|
||||
"\n",
|
||||
"See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
|
||||
" miv_df_cols_dropped['AnzFahrzeuge'] = miv_df_cols_dropped['AnzFahrzeuge'].fillna(0).astype(int)\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"\n",
|
||||
"miv_df = intr.process_miv_data()\n",
|
||||
"#miv_df = intr.process_miv_data()\n",
|
||||
"#fb_data = intr.process_foot_bike_data()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2023-12-03T15:49:07.561603Z",
|
||||
"start_time": "2023-12-03T15:47:14.759104Z"
|
||||
"end_time": "2024-01-03T14:15:33.085151332Z",
|
||||
"start_time": "2024-01-03T14:15:33.076608687Z"
|
||||
}
|
||||
},
|
||||
"id": "dd3831953afdeb72"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#uplicate_rows = miv_df[miv_df.duplicated()]\n",
|
||||
"#print(duplicate_rows.shape[0])"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-03T14:15:33.109662807Z",
|
||||
"start_time": "2024-01-03T14:15:33.078813925Z"
|
||||
}
|
||||
},
|
||||
"id": "14471cd78389ce4d"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 17,
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"u_string RoadTrafficAccidentLocations.json\n",
|
||||
"Filepath: datasets/RoadTrafficAccidentLocations.json\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2024-01-03 15:17:14,309 - integrate.py - DEBUG - AccidentInvolvingPedestrian AccidentInvolvingBicycle \\\n",
|
||||
"0 false false \n",
|
||||
"1 false true \n",
|
||||
"2 false false \n",
|
||||
"3 false false \n",
|
||||
"4 false false \n",
|
||||
"\n",
|
||||
" AccidentInvolvingMotorcycle \n",
|
||||
"0 false \n",
|
||||
"1 false \n",
|
||||
"2 false \n",
|
||||
"3 false \n",
|
||||
"4 false \n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "Empty DataFrame\nColumns: [AccidentUID, AccidentYear, AccidentMonth, AccidentWeekDay_en, AccidentHour, NKoord, EKoord, AccidentType_en, AccidentType, AccidentSeverityCategory, AccidentInvolvingPedestrian, AccidentInvolvingBicycle, AccidentInvolvingMotorcycle, RoadType, RoadType_en, geometry]\nIndex: []",
|
||||
"text/html": "<div>\n<style scoped>\n .dataframe tbody tr th:only-of-type {\n vertical-align: middle;\n }\n\n .dataframe tbody tr th {\n vertical-align: top;\n }\n\n .dataframe thead th {\n text-align: right;\n }\n</style>\n<table border=\"1\" class=\"dataframe\">\n <thead>\n <tr style=\"text-align: right;\">\n <th></th>\n <th>AccidentUID</th>\n <th>AccidentYear</th>\n <th>AccidentMonth</th>\n <th>AccidentWeekDay_en</th>\n <th>AccidentHour</th>\n <th>NKoord</th>\n <th>EKoord</th>\n <th>AccidentType_en</th>\n <th>AccidentType</th>\n <th>AccidentSeverityCategory</th>\n <th>AccidentInvolvingPedestrian</th>\n <th>AccidentInvolvingBicycle</th>\n <th>AccidentInvolvingMotorcycle</th>\n <th>RoadType</th>\n <th>RoadType_en</th>\n <th>geometry</th>\n </tr>\n </thead>\n <tbody>\n </tbody>\n</table>\n</div>"
|
||||
},
|
||||
"execution_count": 17,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"acc_df = intr.process_accident_data(True)\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-03T14:17:14.568151856Z",
|
||||
"start_time": "2024-01-03T14:17:00.375936463Z"
|
||||
}
|
||||
},
|
||||
"id": "f86bc612060b17a4"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 26,
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": " AccidentUID AccidentYear AccidentMonth \\\n0 A2D2677533867004E0430A865E337004 2011 1 \n1 9FD6441F802C20A6E0430A865E3320A6 2011 1 \n2 9FDA0DC4856A6094E0430A865E336094 2011 1 \n3 A3B66E42396E6000E0430A865E336000 2011 1 \n4 9FDA0DBE8CCE9096E0430A865E339096 2011 1 \n\n AccidentWeekDay_en AccidentHour NKoord EKoord \\\n0 Saturday 0 1245194 2684605 \n1 Saturday 1 1246980 2682382 \n2 Saturday 2 1247749 2682791 \n3 Saturday 2 1247102 2681199 \n4 Saturday 3 1250690 2682479 \n\n AccidentType_en AccidentType \\\n0 Accident with skidding or self-accident at0 \n1 Accident with skidding or self-accident at0 \n2 Accident with skidding or self-accident at0 \n3 Accident when crossing the lane(s) at5 \n4 Accident with skidding or self-accident at0 \n\n AccidentSeverityCategory AccidentInvolvingPedestrian \\\n0 as4 True \n1 as3 True \n2 as4 True \n3 as3 True \n4 as4 True \n\n AccidentInvolvingBicycle AccidentInvolvingMotorcycle RoadType RoadType_en \\\n0 True True rt433 Minor road \n1 True True rt433 Minor road \n2 True True rt439 Other \n3 True True rt433 Minor road \n4 True True rt433 Minor road \n\n geometry \n0 POINT Z (8.55841 47.352168 0) \n1 POINT Z (8.52932 47.368512 0) \n2 POINT Z (8.534877 47.375376 0) \n3 POINT Z (8.513682 47.369756 0) \n4 POINT Z (8.531288 47.401865 0) ",
|
||||
"text/html": "<div>\n<style scoped>\n .dataframe tbody tr th:only-of-type {\n vertical-align: middle;\n }\n\n .dataframe tbody tr th {\n vertical-align: top;\n }\n\n .dataframe thead th {\n text-align: right;\n }\n</style>\n<table border=\"1\" class=\"dataframe\">\n <thead>\n <tr style=\"text-align: right;\">\n <th></th>\n <th>AccidentUID</th>\n <th>AccidentYear</th>\n <th>AccidentMonth</th>\n <th>AccidentWeekDay_en</th>\n <th>AccidentHour</th>\n <th>NKoord</th>\n <th>EKoord</th>\n <th>AccidentType_en</th>\n <th>AccidentType</th>\n <th>AccidentSeverityCategory</th>\n <th>AccidentInvolvingPedestrian</th>\n <th>AccidentInvolvingBicycle</th>\n <th>AccidentInvolvingMotorcycle</th>\n <th>RoadType</th>\n <th>RoadType_en</th>\n <th>geometry</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>0</th>\n <td>A2D2677533867004E0430A865E337004</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>0</td>\n <td>1245194</td>\n <td>2684605</td>\n <td>Accident with skidding or self-accident</td>\n <td>at0</td>\n <td>as4</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt433</td>\n <td>Minor road</td>\n <td>POINT Z (8.55841 47.352168 0)</td>\n </tr>\n <tr>\n <th>1</th>\n <td>9FD6441F802C20A6E0430A865E3320A6</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>1</td>\n <td>1246980</td>\n <td>2682382</td>\n <td>Accident with skidding or self-accident</td>\n <td>at0</td>\n <td>as3</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt433</td>\n <td>Minor road</td>\n <td>POINT Z (8.52932 47.368512 0)</td>\n </tr>\n <tr>\n <th>2</th>\n <td>9FDA0DC4856A6094E0430A865E336094</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>2</td>\n <td>1247749</td>\n <td>2682791</td>\n <td>Accident with skidding or self-accident</td>\n <td>at0</td>\n <td>as4</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt439</td>\n <td>Other</td>\n <td>POINT Z (8.534877 47.375376 0)</td>\n </tr>\n <tr>\n <th>3</th>\n <td>A3B66E42396E6000E0430A865E336000</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>2</td>\n <td>1247102</td>\n <td>2681199</td>\n <td>Accident when crossing the lane(s)</td>\n <td>at5</td>\n <td>as3</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt433</td>\n <td>Minor road</td>\n <td>POINT Z (8.513682 47.369756 0)</td>\n </tr>\n <tr>\n <th>4</th>\n <td>9FDA0DBE8CCE9096E0430A865E339096</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>3</td>\n <td>1250690</td>\n <td>2682479</td>\n <td>Accident with skidding or self-accident</td>\n <td>at0</td>\n <td>as4</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt433</td>\n <td>Minor road</td>\n <td>POINT Z (8.531288 47.401865 0)</td>\n </tr>\n </tbody>\n</table>\n</div>"
|
||||
},
|
||||
"execution_count": 26,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"#acc_df[acc_df['AccidentInvolvingBicycle']==True]\n",
|
||||
"acc_df.head()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-03T14:19:26.508020674Z",
|
||||
"start_time": "2024-01-03T14:19:26.500683554Z"
|
||||
}
|
||||
},
|
||||
"id": "25378c6cd445a163"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "array(['Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday',\n 'Friday'], dtype=object)"
|
||||
},
|
||||
"execution_count": 5,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"acc_df.head()\n",
|
||||
"acc_df['AccidentWeekDay_en'].unique()\n",
|
||||
"#acc_df.dtypes\n",
|
||||
"\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-03T14:15:48.660494125Z",
|
||||
"start_time": "2024-01-03T14:15:48.656222488Z"
|
||||
}
|
||||
},
|
||||
"id": "6affbeea6c7cf3ef"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
@@ -65,112 +171,139 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"121\n"
|
||||
"Accident Columns:\n",
|
||||
"AccidentUID object\n",
|
||||
"AccidentYear int64\n",
|
||||
"AccidentMonth int64\n",
|
||||
"AccidentWeekDay_en object\n",
|
||||
"AccidentHour int64\n",
|
||||
"NKoord int64\n",
|
||||
"EKoord int64\n",
|
||||
"AccidentType_en object\n",
|
||||
"AccidentType object\n",
|
||||
"AccidentSeverityCategory object\n",
|
||||
"AccidentInvolvingPedestrian bool\n",
|
||||
"AccidentInvolvingBicycle bool\n",
|
||||
"AccidentInvolvingMotorcycle bool\n",
|
||||
"RoadType object\n",
|
||||
"RoadType_en object\n",
|
||||
"geometry object\n",
|
||||
"dtype: object\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"duplicate_rows = miv_df[miv_df.duplicated()]\n",
|
||||
"print(duplicate_rows.shape[0])"
|
||||
"print(\"Accident Columns:\")\n",
|
||||
"print(acc_df.dtypes)\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2023-12-03T15:51:21.158909Z",
|
||||
"start_time": "2023-12-03T15:51:15.711222Z"
|
||||
"end_time": "2024-01-03T14:15:48.708958773Z",
|
||||
"start_time": "2024-01-03T14:15:48.661313317Z"
|
||||
}
|
||||
},
|
||||
"id": "14471cd78389ce4d"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"acc_df = intr.process_accident_data(True)"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
"id": "f86bc612060b17a4"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"acc_df.head()\n",
|
||||
"acc_df['AccidentWeekDay_en'].unique()\n",
|
||||
"#acc_df.dtypes\n",
|
||||
"\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
"id": "6affbeea6c7cf3ef"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"print(\"Accident Columns:\")\n",
|
||||
"print(acc_df.dtypes)\n",
|
||||
"print()\n",
|
||||
"print(\"MIV Columns:\")\n",
|
||||
"print(miv_df.dtypes)\n",
|
||||
"print()\n",
|
||||
"print(\"FB Cols:\")\n",
|
||||
"print(fb_data.dtypes)"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
"id": "242041cd369d8454"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"execution_count": 7,
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "0 1\n1 2\n2 3\n3 4\n4 5\n ... \n55821 55822\n55822 55823\n55823 55824\n55824 55825\n55825 55826\nName: ID, Length: 55826, dtype: int64"
|
||||
},
|
||||
"execution_count": 7,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"acc_df['ID'] = acc_df.index +1\n",
|
||||
"acc_df[('ID')]"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-03T14:15:48.720379971Z",
|
||||
"start_time": "2024-01-03T14:15:48.692026239Z"
|
||||
}
|
||||
},
|
||||
"id": "1841925ee109a417"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"print(\"MIV unqiue:\", miv_df['EKoord'])\n",
|
||||
"print(\"Acc unique:\", acc_df['RoadType'].unique)\n",
|
||||
"print(\"FB unique: \", fb_data['DATE'])\n"
|
||||
"execution_count": 16,
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "Empty DataFrame\nColumns: [AccidentUID, AccidentYear, AccidentMonth, AccidentWeekDay_en, AccidentHour, NKoord, EKoord, AccidentType_en, AccidentType, AccidentSeverityCategory, AccidentInvolvingPedestrian, AccidentInvolvingBicycle, AccidentInvolvingMotorcycle, RoadType, RoadType_en, geometry, ID]\nIndex: []",
|
||||
"text/html": "<div>\n<style scoped>\n .dataframe tbody tr th:only-of-type {\n vertical-align: middle;\n }\n\n .dataframe tbody tr th {\n vertical-align: top;\n }\n\n .dataframe thead th {\n text-align: right;\n }\n</style>\n<table border=\"1\" class=\"dataframe\">\n <thead>\n <tr style=\"text-align: right;\">\n <th></th>\n <th>AccidentUID</th>\n <th>AccidentYear</th>\n <th>AccidentMonth</th>\n <th>AccidentWeekDay_en</th>\n <th>AccidentHour</th>\n <th>NKoord</th>\n <th>EKoord</th>\n <th>AccidentType_en</th>\n <th>AccidentType</th>\n <th>AccidentSeverityCategory</th>\n <th>AccidentInvolvingPedestrian</th>\n <th>AccidentInvolvingBicycle</th>\n <th>AccidentInvolvingMotorcycle</th>\n <th>RoadType</th>\n <th>RoadType_en</th>\n <th>geometry</th>\n <th>ID</th>\n </tr>\n </thead>\n <tbody>\n </tbody>\n</table>\n</div>"
|
||||
},
|
||||
"execution_count": 16,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [],
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-03T14:16:39.887367022Z",
|
||||
"start_time": "2024-01-03T14:16:39.881262890Z"
|
||||
}
|
||||
},
|
||||
"id": "f6d752ea17eda341"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"execution_count": 9,
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": " AccidentUID AccidentYear AccidentMonth \\\n0 A2D2677533867004E0430A865E337004 2011 1 \n1 9FD6441F802C20A6E0430A865E3320A6 2011 1 \n2 9FDA0DC4856A6094E0430A865E336094 2011 1 \n3 A3B66E42396E6000E0430A865E336000 2011 1 \n4 9FDA0DBE8CCE9096E0430A865E339096 2011 1 \n\n AccidentWeekDay_en AccidentHour NKoord EKoord \\\n0 Saturday 0 1245194 2684605 \n1 Saturday 1 1246980 2682382 \n2 Saturday 2 1247749 2682791 \n3 Saturday 2 1247102 2681199 \n4 Saturday 3 1250690 2682479 \n\n AccidentType_en AccidentType \\\n0 Accident with skidding or self-accident at0 \n1 Accident with skidding or self-accident at0 \n2 Accident with skidding or self-accident at0 \n3 Accident when crossing the lane(s) at5 \n4 Accident with skidding or self-accident at0 \n\n AccidentSeverityCategory AccidentInvolvingPedestrian \\\n0 as4 True \n1 as3 True \n2 as4 True \n3 as3 True \n4 as4 True \n\n AccidentInvolvingBicycle AccidentInvolvingMotorcycle RoadType RoadType_en \\\n0 True True rt433 Minor road \n1 True True rt433 Minor road \n2 True True rt439 Other \n3 True True rt433 Minor road \n4 True True rt433 Minor road \n\n geometry ID \n0 POINT Z (8.55841 47.352168 0) 1 \n1 POINT Z (8.52932 47.368512 0) 2 \n2 POINT Z (8.534877 47.375376 0) 3 \n3 POINT Z (8.513682 47.369756 0) 4 \n4 POINT Z (8.531288 47.401865 0) 5 ",
|
||||
"text/html": "<div>\n<style scoped>\n .dataframe tbody tr th:only-of-type {\n vertical-align: middle;\n }\n\n .dataframe tbody tr th {\n vertical-align: top;\n }\n\n .dataframe thead th {\n text-align: right;\n }\n</style>\n<table border=\"1\" class=\"dataframe\">\n <thead>\n <tr style=\"text-align: right;\">\n <th></th>\n <th>AccidentUID</th>\n <th>AccidentYear</th>\n <th>AccidentMonth</th>\n <th>AccidentWeekDay_en</th>\n <th>AccidentHour</th>\n <th>NKoord</th>\n <th>EKoord</th>\n <th>AccidentType_en</th>\n <th>AccidentType</th>\n <th>AccidentSeverityCategory</th>\n <th>AccidentInvolvingPedestrian</th>\n <th>AccidentInvolvingBicycle</th>\n <th>AccidentInvolvingMotorcycle</th>\n <th>RoadType</th>\n <th>RoadType_en</th>\n <th>geometry</th>\n <th>ID</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>0</th>\n <td>A2D2677533867004E0430A865E337004</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>0</td>\n <td>1245194</td>\n <td>2684605</td>\n <td>Accident with skidding or self-accident</td>\n <td>at0</td>\n <td>as4</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt433</td>\n <td>Minor road</td>\n <td>POINT Z (8.55841 47.352168 0)</td>\n <td>1</td>\n </tr>\n <tr>\n <th>1</th>\n <td>9FD6441F802C20A6E0430A865E3320A6</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>1</td>\n <td>1246980</td>\n <td>2682382</td>\n <td>Accident with skidding or self-accident</td>\n <td>at0</td>\n <td>as3</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt433</td>\n <td>Minor road</td>\n <td>POINT Z (8.52932 47.368512 0)</td>\n <td>2</td>\n </tr>\n <tr>\n <th>2</th>\n <td>9FDA0DC4856A6094E0430A865E336094</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>2</td>\n <td>1247749</td>\n <td>2682791</td>\n <td>Accident with skidding or self-accident</td>\n <td>at0</td>\n <td>as4</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt439</td>\n <td>Other</td>\n <td>POINT Z (8.534877 47.375376 0)</td>\n <td>3</td>\n </tr>\n <tr>\n <th>3</th>\n <td>A3B66E42396E6000E0430A865E336000</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>2</td>\n <td>1247102</td>\n <td>2681199</td>\n <td>Accident when crossing the lane(s)</td>\n <td>at5</td>\n <td>as3</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt433</td>\n <td>Minor road</td>\n <td>POINT Z (8.513682 47.369756 0)</td>\n <td>4</td>\n </tr>\n <tr>\n <th>4</th>\n <td>9FDA0DBE8CCE9096E0430A865E339096</td>\n <td>2011</td>\n <td>1</td>\n <td>Saturday</td>\n <td>3</td>\n <td>1250690</td>\n <td>2682479</td>\n <td>Accident with skidding or self-accident</td>\n <td>at0</td>\n <td>as4</td>\n <td>True</td>\n <td>True</td>\n <td>True</td>\n <td>rt433</td>\n <td>Minor road</td>\n <td>POINT Z (8.531288 47.401865 0)</td>\n <td>5</td>\n </tr>\n </tbody>\n</table>\n</div>"
|
||||
},
|
||||
"execution_count": 9,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"acc_df.head()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-03T14:15:48.790965333Z",
|
||||
"start_time": "2024-01-03T14:15:48.759351058Z"
|
||||
}
|
||||
},
|
||||
"id": "a159cafa9c227b88"
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"execution_count": 10,
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "AttributeError",
|
||||
"evalue": "'str' object has no attribute 'wkt'",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001B[0;31m---------------------------------------------------------------------------\u001B[0m",
|
||||
"\u001B[0;31mAttributeError\u001B[0m Traceback (most recent call last)",
|
||||
"Cell \u001B[0;32mIn[10], line 15\u001B[0m\n\u001B[1;32m 9\u001B[0m \u001B[38;5;66;03m#miv_df.to_sql('table_name', engine, if_exists='replace', index=False)\u001B[39;00m\n\u001B[1;32m 10\u001B[0m \u001B[38;5;66;03m#fb_data.to_sql('footbike', engine, if_exists='replace', index=False)\u001B[39;00m\n\u001B[1;32m 12\u001B[0m geometry_column \u001B[38;5;241m=\u001B[39m \u001B[38;5;124m'\u001B[39m\u001B[38;5;124mgeometry\u001B[39m\u001B[38;5;124m'\u001B[39m\n\u001B[0;32m---> 15\u001B[0m acc_df[\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mgeometry\u001B[39m\u001B[38;5;124m'\u001B[39m] \u001B[38;5;241m=\u001B[39m \u001B[43macc_df\u001B[49m\u001B[43m[\u001B[49m\u001B[38;5;124;43m'\u001B[39;49m\u001B[38;5;124;43mgeometry\u001B[39;49m\u001B[38;5;124;43m'\u001B[39;49m\u001B[43m]\u001B[49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43mapply\u001B[49m\u001B[43m(\u001B[49m\u001B[38;5;28;43;01mlambda\u001B[39;49;00m\u001B[43m \u001B[49m\u001B[43mgeom\u001B[49m\u001B[43m:\u001B[49m\u001B[43m \u001B[49m\u001B[43mWKTElement\u001B[49m\u001B[43m(\u001B[49m\u001B[43mgeom\u001B[49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43mwkt\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43msrid\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[38;5;241;43m4326\u001B[39;49m\u001B[43m)\u001B[49m\u001B[43m)\u001B[49m\n\u001B[1;32m 17\u001B[0m acc_df\u001B[38;5;241m.\u001B[39mto_sql(\u001B[38;5;124m'\u001B[39m\u001B[38;5;124maccidents\u001B[39m\u001B[38;5;124m'\u001B[39m, engine, if_exists\u001B[38;5;241m=\u001B[39m\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mreplace\u001B[39m\u001B[38;5;124m'\u001B[39m, index\u001B[38;5;241m=\u001B[39m\u001B[38;5;28;01mFalse\u001B[39;00m, dtype\u001B[38;5;241m=\u001B[39m{\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mgeometry\u001B[39m\u001B[38;5;124m'\u001B[39m: Geometry(\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mPOINT\u001B[39m\u001B[38;5;124m'\u001B[39m, srid\u001B[38;5;241m=\u001B[39m\u001B[38;5;241m4326\u001B[39m)})\n",
|
||||
"File \u001B[0;32m~/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/pandas/core/series.py:4760\u001B[0m, in \u001B[0;36mSeries.apply\u001B[0;34m(self, func, convert_dtype, args, by_row, **kwargs)\u001B[0m\n\u001B[1;32m 4625\u001B[0m \u001B[38;5;28;01mdef\u001B[39;00m \u001B[38;5;21mapply\u001B[39m(\n\u001B[1;32m 4626\u001B[0m \u001B[38;5;28mself\u001B[39m,\n\u001B[1;32m 4627\u001B[0m func: AggFuncType,\n\u001B[0;32m (...)\u001B[0m\n\u001B[1;32m 4632\u001B[0m \u001B[38;5;241m*\u001B[39m\u001B[38;5;241m*\u001B[39mkwargs,\n\u001B[1;32m 4633\u001B[0m ) \u001B[38;5;241m-\u001B[39m\u001B[38;5;241m>\u001B[39m DataFrame \u001B[38;5;241m|\u001B[39m Series:\n\u001B[1;32m 4634\u001B[0m \u001B[38;5;250m \u001B[39m\u001B[38;5;124;03m\"\"\"\u001B[39;00m\n\u001B[1;32m 4635\u001B[0m \u001B[38;5;124;03m Invoke function on values of Series.\u001B[39;00m\n\u001B[1;32m 4636\u001B[0m \n\u001B[0;32m (...)\u001B[0m\n\u001B[1;32m 4751\u001B[0m \u001B[38;5;124;03m dtype: float64\u001B[39;00m\n\u001B[1;32m 4752\u001B[0m \u001B[38;5;124;03m \"\"\"\u001B[39;00m\n\u001B[1;32m 4753\u001B[0m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[43mSeriesApply\u001B[49m\u001B[43m(\u001B[49m\n\u001B[1;32m 4754\u001B[0m \u001B[43m \u001B[49m\u001B[38;5;28;43mself\u001B[39;49m\u001B[43m,\u001B[49m\n\u001B[1;32m 4755\u001B[0m \u001B[43m \u001B[49m\u001B[43mfunc\u001B[49m\u001B[43m,\u001B[49m\n\u001B[1;32m 4756\u001B[0m \u001B[43m \u001B[49m\u001B[43mconvert_dtype\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43mconvert_dtype\u001B[49m\u001B[43m,\u001B[49m\n\u001B[1;32m 4757\u001B[0m \u001B[43m \u001B[49m\u001B[43mby_row\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43mby_row\u001B[49m\u001B[43m,\u001B[49m\n\u001B[1;32m 4758\u001B[0m \u001B[43m \u001B[49m\u001B[43margs\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43margs\u001B[49m\u001B[43m,\u001B[49m\n\u001B[1;32m 4759\u001B[0m \u001B[43m \u001B[49m\u001B[43mkwargs\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43mkwargs\u001B[49m\u001B[43m,\u001B[49m\n\u001B[0;32m-> 4760\u001B[0m \u001B[43m \u001B[49m\u001B[43m)\u001B[49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43mapply\u001B[49m\u001B[43m(\u001B[49m\u001B[43m)\u001B[49m\n",
|
||||
"File \u001B[0;32m~/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/pandas/core/apply.py:1207\u001B[0m, in \u001B[0;36mSeriesApply.apply\u001B[0;34m(self)\u001B[0m\n\u001B[1;32m 1204\u001B[0m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[38;5;28mself\u001B[39m\u001B[38;5;241m.\u001B[39mapply_compat()\n\u001B[1;32m 1206\u001B[0m \u001B[38;5;66;03m# self.func is Callable\u001B[39;00m\n\u001B[0;32m-> 1207\u001B[0m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[38;5;28;43mself\u001B[39;49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43mapply_standard\u001B[49m\u001B[43m(\u001B[49m\u001B[43m)\u001B[49m\n",
|
||||
"File \u001B[0;32m~/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/pandas/core/apply.py:1287\u001B[0m, in \u001B[0;36mSeriesApply.apply_standard\u001B[0;34m(self)\u001B[0m\n\u001B[1;32m 1281\u001B[0m \u001B[38;5;66;03m# row-wise access\u001B[39;00m\n\u001B[1;32m 1282\u001B[0m \u001B[38;5;66;03m# apply doesn't have a `na_action` keyword and for backward compat reasons\u001B[39;00m\n\u001B[1;32m 1283\u001B[0m \u001B[38;5;66;03m# we need to give `na_action=\"ignore\"` for categorical data.\u001B[39;00m\n\u001B[1;32m 1284\u001B[0m \u001B[38;5;66;03m# TODO: remove the `na_action=\"ignore\"` when that default has been changed in\u001B[39;00m\n\u001B[1;32m 1285\u001B[0m \u001B[38;5;66;03m# Categorical (GH51645).\u001B[39;00m\n\u001B[1;32m 1286\u001B[0m action \u001B[38;5;241m=\u001B[39m \u001B[38;5;124m\"\u001B[39m\u001B[38;5;124mignore\u001B[39m\u001B[38;5;124m\"\u001B[39m \u001B[38;5;28;01mif\u001B[39;00m \u001B[38;5;28misinstance\u001B[39m(obj\u001B[38;5;241m.\u001B[39mdtype, CategoricalDtype) \u001B[38;5;28;01melse\u001B[39;00m \u001B[38;5;28;01mNone\u001B[39;00m\n\u001B[0;32m-> 1287\u001B[0m mapped \u001B[38;5;241m=\u001B[39m \u001B[43mobj\u001B[49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43m_map_values\u001B[49m\u001B[43m(\u001B[49m\n\u001B[1;32m 1288\u001B[0m \u001B[43m \u001B[49m\u001B[43mmapper\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43mcurried\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mna_action\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43maction\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mconvert\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[38;5;28;43mself\u001B[39;49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43mconvert_dtype\u001B[49m\n\u001B[1;32m 1289\u001B[0m \u001B[43m\u001B[49m\u001B[43m)\u001B[49m\n\u001B[1;32m 1291\u001B[0m \u001B[38;5;28;01mif\u001B[39;00m \u001B[38;5;28mlen\u001B[39m(mapped) \u001B[38;5;129;01mand\u001B[39;00m \u001B[38;5;28misinstance\u001B[39m(mapped[\u001B[38;5;241m0\u001B[39m], ABCSeries):\n\u001B[1;32m 1292\u001B[0m \u001B[38;5;66;03m# GH#43986 Need to do list(mapped) in order to get treated as nested\u001B[39;00m\n\u001B[1;32m 1293\u001B[0m \u001B[38;5;66;03m# See also GH#25959 regarding EA support\u001B[39;00m\n\u001B[1;32m 1294\u001B[0m \u001B[38;5;28;01mreturn\u001B[39;00m obj\u001B[38;5;241m.\u001B[39m_constructor_expanddim(\u001B[38;5;28mlist\u001B[39m(mapped), index\u001B[38;5;241m=\u001B[39mobj\u001B[38;5;241m.\u001B[39mindex)\n",
|
||||
"File \u001B[0;32m~/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/pandas/core/base.py:921\u001B[0m, in \u001B[0;36mIndexOpsMixin._map_values\u001B[0;34m(self, mapper, na_action, convert)\u001B[0m\n\u001B[1;32m 918\u001B[0m \u001B[38;5;28;01mif\u001B[39;00m \u001B[38;5;28misinstance\u001B[39m(arr, ExtensionArray):\n\u001B[1;32m 919\u001B[0m \u001B[38;5;28;01mreturn\u001B[39;00m arr\u001B[38;5;241m.\u001B[39mmap(mapper, na_action\u001B[38;5;241m=\u001B[39mna_action)\n\u001B[0;32m--> 921\u001B[0m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[43malgorithms\u001B[49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43mmap_array\u001B[49m\u001B[43m(\u001B[49m\u001B[43marr\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mmapper\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mna_action\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43mna_action\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mconvert\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43mconvert\u001B[49m\u001B[43m)\u001B[49m\n",
|
||||
"File \u001B[0;32m~/Documents/Education/UniBas/HS23/databases/project/repo/group-1/venv/lib64/python3.11/site-packages/pandas/core/algorithms.py:1814\u001B[0m, in \u001B[0;36mmap_array\u001B[0;34m(arr, mapper, na_action, convert)\u001B[0m\n\u001B[1;32m 1812\u001B[0m values \u001B[38;5;241m=\u001B[39m arr\u001B[38;5;241m.\u001B[39mastype(\u001B[38;5;28mobject\u001B[39m, copy\u001B[38;5;241m=\u001B[39m\u001B[38;5;28;01mFalse\u001B[39;00m)\n\u001B[1;32m 1813\u001B[0m \u001B[38;5;28;01mif\u001B[39;00m na_action \u001B[38;5;129;01mis\u001B[39;00m \u001B[38;5;28;01mNone\u001B[39;00m:\n\u001B[0;32m-> 1814\u001B[0m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[43mlib\u001B[49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43mmap_infer\u001B[49m\u001B[43m(\u001B[49m\u001B[43mvalues\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mmapper\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mconvert\u001B[49m\u001B[38;5;241;43m=\u001B[39;49m\u001B[43mconvert\u001B[49m\u001B[43m)\u001B[49m\n\u001B[1;32m 1815\u001B[0m \u001B[38;5;28;01melse\u001B[39;00m:\n\u001B[1;32m 1816\u001B[0m \u001B[38;5;28;01mreturn\u001B[39;00m lib\u001B[38;5;241m.\u001B[39mmap_infer_mask(\n\u001B[1;32m 1817\u001B[0m values, mapper, mask\u001B[38;5;241m=\u001B[39misna(values)\u001B[38;5;241m.\u001B[39mview(np\u001B[38;5;241m.\u001B[39muint8), convert\u001B[38;5;241m=\u001B[39mconvert\n\u001B[1;32m 1818\u001B[0m )\n",
|
||||
"File \u001B[0;32mlib.pyx:2920\u001B[0m, in \u001B[0;36mpandas._libs.lib.map_infer\u001B[0;34m()\u001B[0m\n",
|
||||
"Cell \u001B[0;32mIn[10], line 15\u001B[0m, in \u001B[0;36m<lambda>\u001B[0;34m(geom)\u001B[0m\n\u001B[1;32m 9\u001B[0m \u001B[38;5;66;03m#miv_df.to_sql('table_name', engine, if_exists='replace', index=False)\u001B[39;00m\n\u001B[1;32m 10\u001B[0m \u001B[38;5;66;03m#fb_data.to_sql('footbike', engine, if_exists='replace', index=False)\u001B[39;00m\n\u001B[1;32m 12\u001B[0m geometry_column \u001B[38;5;241m=\u001B[39m \u001B[38;5;124m'\u001B[39m\u001B[38;5;124mgeometry\u001B[39m\u001B[38;5;124m'\u001B[39m\n\u001B[0;32m---> 15\u001B[0m acc_df[\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mgeometry\u001B[39m\u001B[38;5;124m'\u001B[39m] \u001B[38;5;241m=\u001B[39m acc_df[\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mgeometry\u001B[39m\u001B[38;5;124m'\u001B[39m]\u001B[38;5;241m.\u001B[39mapply(\u001B[38;5;28;01mlambda\u001B[39;00m geom: WKTElement(\u001B[43mgeom\u001B[49m\u001B[38;5;241;43m.\u001B[39;49m\u001B[43mwkt\u001B[49m, srid\u001B[38;5;241m=\u001B[39m\u001B[38;5;241m4326\u001B[39m))\n\u001B[1;32m 17\u001B[0m acc_df\u001B[38;5;241m.\u001B[39mto_sql(\u001B[38;5;124m'\u001B[39m\u001B[38;5;124maccidents\u001B[39m\u001B[38;5;124m'\u001B[39m, engine, if_exists\u001B[38;5;241m=\u001B[39m\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mreplace\u001B[39m\u001B[38;5;124m'\u001B[39m, index\u001B[38;5;241m=\u001B[39m\u001B[38;5;28;01mFalse\u001B[39;00m, dtype\u001B[38;5;241m=\u001B[39m{\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mgeometry\u001B[39m\u001B[38;5;124m'\u001B[39m: Geometry(\u001B[38;5;124m'\u001B[39m\u001B[38;5;124mPOINT\u001B[39m\u001B[38;5;124m'\u001B[39m, srid\u001B[38;5;241m=\u001B[39m\u001B[38;5;241m4326\u001B[39m)})\n",
|
||||
"\u001B[0;31mAttributeError\u001B[0m: 'str' object has no attribute 'wkt'"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from sqlalchemy import create_engine\n",
|
||||
"from geoalchemy2 import Geometry, WKTElement\n",
|
||||
@@ -192,7 +325,11 @@
|
||||
"\n"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-01-03T14:15:49.286594299Z",
|
||||
"start_time": "2024-01-03T14:15:48.770718191Z"
|
||||
}
|
||||
},
|
||||
"id": "fa76af8343443d7a"
|
||||
},
|
||||
@@ -204,7 +341,10 @@
|
||||
"engine.dispose()"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"start_time": "2024-01-03T14:15:49.287300519Z"
|
||||
}
|
||||
},
|
||||
"id": "bc0a23a5126e76c2"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user