Skip to content

Commit 1357c68

Browse files
authored
Merge pull request #2 from avinashkranjan/master
Updating fork
2 parents 1fff3bb + d7aed7e commit 1357c68

File tree

89 files changed

+28450
-174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+28450
-174
lines changed

.all-contributorsrc

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,156 @@
704704
"contributions": [
705705
"doc"
706706
]
707+
},
708+
{
709+
"login": "vikashkumar2020",
710+
"name": "Vikash Kumar",
711+
"avatar_url": "https://avatars.githubusercontent.com/u/54088750?v=4",
712+
"profile": "https://vikashkumar2020.github.io/",
713+
"contributions": [
714+
"code",
715+
"doc"
716+
]
717+
},
718+
{
719+
"login": "mehabhalodiya",
720+
"name": "Meha Bhalodiya",
721+
"avatar_url": "https://avatars.githubusercontent.com/u/73488906?v=4",
722+
"profile": "https://github.com/mehabhalodiya",
723+
"contributions": [
724+
"code",
725+
"doc"
726+
]
727+
},
728+
{
729+
"login": "aish2002",
730+
"name": "Aishwarya A J",
731+
"avatar_url": "https://avatars.githubusercontent.com/u/56962523?v=4",
732+
"profile": "https://github.com/aish2002",
733+
"contributions": [
734+
"code",
735+
"doc"
736+
]
737+
},
738+
{
739+
"login": "priyanshu20",
740+
"name": "Priyanshu Sharma",
741+
"avatar_url": "https://avatars.githubusercontent.com/u/59313375?v=4",
742+
"profile": "https://github.com/priyanshu20",
743+
"contributions": [
744+
"code",
745+
"doc"
746+
]
747+
},
748+
{
749+
"login": "SpecTEviL",
750+
"name": "Vishal Patil",
751+
"avatar_url": "https://avatars.githubusercontent.com/u/62737267?v=4",
752+
"profile": "https://spectevil.github.io/",
753+
"contributions": [
754+
"code",
755+
"doc"
756+
]
757+
},
758+
{
759+
"login": "Amit366",
760+
"name": "Amit Kumar Mishra",
761+
"avatar_url": "https://avatars.githubusercontent.com/u/60662775?v=4",
762+
"profile": "https://the-awesome-profile-site.netlify.app/",
763+
"contributions": [
764+
"code",
765+
"doc"
766+
]
767+
},
768+
{
769+
"login": "ELITA04",
770+
"name": "Elita Menezes",
771+
"avatar_url": "https://avatars.githubusercontent.com/u/46682884?v=4",
772+
"profile": "https://elita04.github.io/website/",
773+
"contributions": [
774+
"code",
775+
"doc"
776+
]
777+
},
778+
{
779+
"login": "Debashish-hub",
780+
"name": "Debashish kumar sahoo",
781+
"avatar_url": "https://avatars.githubusercontent.com/u/56837936?v=4",
782+
"profile": "https://github.com/Debashish-hub",
783+
"contributions": [
784+
"code",
785+
"doc"
786+
]
787+
},
788+
{
789+
"login": "smriti1313",
790+
"name": "Smriti",
791+
"avatar_url": "https://avatars.githubusercontent.com/u/52624997?v=4",
792+
"profile": "https://github.com/smriti1313",
793+
"contributions": [
794+
"code",
795+
"doc"
796+
]
797+
},
798+
{
799+
"login": "ShubhamGupta577",
800+
"name": "Shubham Gupta",
801+
"avatar_url": "https://avatars.githubusercontent.com/u/57499043?v=4",
802+
"profile": "https://github.com/ShubhamGupta577",
803+
"contributions": [
804+
"code",
805+
"doc"
806+
]
807+
},
808+
{
809+
"login": "NEERAJAP2001",
810+
"name": "NEERAJ ADITYANANTH POLAMPALLI",
811+
"avatar_url": "https://avatars.githubusercontent.com/u/65017645?v=4",
812+
"profile": "https://github.com/NEERAJAP2001",
813+
"contributions": [
814+
"code",
815+
"doc"
816+
]
817+
},
818+
{
819+
"login": "saaalik",
820+
"name": "Md Salik",
821+
"avatar_url": "https://avatars.githubusercontent.com/u/65087495?v=4",
822+
"profile": "https://github.com/saaalik",
823+
"contributions": [
824+
"code",
825+
"doc"
826+
]
827+
},
828+
{
829+
"login": "satyampgt4",
830+
"name": "Satyam Dengre",
831+
"avatar_url": "https://avatars.githubusercontent.com/u/59261812?v=4",
832+
"profile": "https://github.com/satyampgt4",
833+
"contributions": [
834+
"code",
835+
"doc"
836+
]
837+
},
838+
{
839+
"login": "ankurg132",
840+
"name": "Ankur Gupta",
841+
"avatar_url": "https://avatars.githubusercontent.com/u/31045221?v=4",
842+
"profile": "https://ankurgupta.study",
843+
"contributions": [
844+
"code",
845+
"doc"
846+
]
847+
},
848+
{
849+
"login": "soumyavemuri",
850+
"name": "Soumya Vemuri",
851+
"avatar_url": "https://avatars.githubusercontent.com/u/60005707?v=4",
852+
"profile": "https://www.linkedin.com/in/soumyavemuri/",
853+
"contributions": [
854+
"code",
855+
"doc"
856+
]
707857
}
708858
],
709859
"contributorsPerLine": 7,

Data-Visualization/Bar Plotting/program.py

Lines changed: 0 additions & 14 deletions
This file was deleted.
8.72 KB
Loading
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
import plotly.graph_objects as go
2+
import numpy as np
3+
4+
np.random.seed(42)
5+
6+
# declaring size of arr
7+
size = 7
8+
9+
x = [f'Product {i}' for i in range(size)]
10+
y = np.random.randint(low = 0, high = 100, size=size)
11+
12+
# creating the Bar Chart
13+
fig = go.Figure(go.Bar(
14+
x = x,
15+
y = y,
16+
text = y,
17+
textposition='outside',
18+
marker_color='indianred',
19+
hovertemplate = "%{x} : %{y} <extra></extra>",
20+
showlegend = False,
21+
))
22+
23+
# Modifying the tickangle of the xaxis, and adjusting width and height of the image
24+
fig.layout.template = 'plotly_dark'
25+
#Hiding y-axis labels
26+
layout_yaxis_visible = False
27+
layout_yaxis_showticklabels = False
28+
fig.update_layout(
29+
xaxis_title = 'X Axis Title',
30+
yaxis_title = 'Y Axis Title',
31+
xaxis_tickangle = -45,
32+
autosize=False,
33+
width=600,
34+
height=600,
35+
margin=dict(l=50, r=50, b=100, t=100, pad=4)
36+
)
37+
# Removing the background grid and the Y-axis labels
38+
fig.update_yaxes(showgrid = False, showticklabels = False)
39+
40+
fig.show()
41+
11.7 KB
Loading
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import plotly.graph_objects as go
2+
import numpy as np
3+
4+
np.random.seed(1)
5+
6+
# declaring size of arr
7+
size = 10
8+
size_arr = np.random.randint(low = 50, high = 600, size=size)
9+
10+
x = np.random.randint(low = 0, high = 30, size=size)
11+
y = np.random.randint(low = 0, high = 20, size=size)
12+
13+
fig = go.Figure(data=[go.Scatter(
14+
x = x,
15+
y = y,
16+
mode='markers',
17+
marker=dict(
18+
size=size_arr,
19+
sizemode='area',
20+
sizeref=2.*max(size_arr)/(40.**2),
21+
sizemin=4
22+
),
23+
hovertemplate = " x : %{x} <br> y : %{y} <br>"
24+
)])
25+
26+
# Adjusting width and height of the image
27+
fig.layout.template = 'plotly_dark'
28+
fig.update_layout(
29+
title = 'Bubble Chart',
30+
xaxis_title = 'X Axis Title',
31+
yaxis_title = 'Y Axis Title',
32+
autosize=False,
33+
width=600,
34+
height=600,
35+
margin=dict(l=50, r=50, b=100, t=100, pad=4)
36+
)
37+
38+
39+
fig.show()
17.6 KB
Loading
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import plotly.express as px
2+
import numpy as np
3+
4+
np.random.seed(42)
5+
6+
# declaring the size of an array
7+
rows = 5
8+
columns = 3
9+
10+
data = np.random.randint(low = 0, high = 50, size=(columns, rows))
11+
12+
fig = px.imshow(data,
13+
labels=dict(x="X Axis Title", y="Y Axis Title", color="Productivity"),
14+
x=[f'Product {i}' for i in range(rows)],
15+
y=[f'Type {i}' for i in range(columns)],
16+
)
17+
18+
# Modifying the tickangle of the xaxis, and adjusting width and height of the image
19+
fig.layout.template = 'plotly_dark'
20+
fig.update_xaxes(side="top")
21+
fig.update_layout(
22+
title = 'Heat Map ',
23+
xaxis_tickangle = -45,
24+
autosize=False,
25+
width=600,
26+
height=600,
27+
margin=dict(l=50, r=50, b=100, t=100, pad=4)
28+
)
29+
fig.show()

Data-Visualization/Histogram Plotting/program.py

Lines changed: 0 additions & 12 deletions
This file was deleted.
2.91 KB
Loading

0 commit comments

Comments
 (0)