Remove pagination from taxonomy and view all post

When you create taxonomy and assign it to any post and view it on taxonomy page. On taxonomy page display default pagination and display only 3 or 4 post but you need to display all post on same page. Use below code to show all post on related taxonomy page.