This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <WiFi.h> | |
#include <esp_wpa2.h> | |
#include <esp_wifi.h> | |
#include <time.h> | |
#include <InfluxDbClient.h> // https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino | |
#include <Wire.h> | |
#include <Adafruit_BME280.h> // https://github.com/adafruit/Adafruit_BME280_Library | |
#define HOSTNAME "ESP32 Temperature Sensor" | |
#define LOCATION "1000 chem" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import networkx as nx | |
import matplotlib.pyplot as plt | |
import matplotlib.image as mpimg | |
img=mpimg.imread('/home/shobhit/Desktop/shobhit.jpg') | |
# draw graph without images | |
G =nx.Graph() | |
G.add_edge(0,1,image=img,size=0.1) | |
G.add_edge(1,2,image=img,size=0.05) | |
G.add_edge(2,3,image=img,size=0.02) | |
G.add_edge(3,4,image=img,size=0.075) |